Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4741, allocations: 46.62 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.005709/0.4799, allocations: 1.612 MB / 326.5 MB, free: 0.6562 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.483, allocations: 0.8993 MB / 327.4 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.4832, allocations: 5.281 kB / 327.4 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.4835, allocations: 5.062 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.4836, allocations: 21.22 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.484, allocations: 45.08 kB / 327.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.4844, allocations: 181.1 kB / 327.6 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4846, allocations: 20.44 kB / 327.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.4857, allocations: 0.638 MB / 328.3 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.4859, allocations: 95.73 kB / 328.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.486, allocations: 14.81 kB / 328.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.4861, allocations: 11.53 kB / 328.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.4862, allocations: 74.2 kB / 328.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.4864, allocations: 141.7 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.487, allocations: 458.8 kB / 329 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.487, allocations: 0 / 329 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4871, allocations: 0 / 329 MB, free: 15.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4871, allocations: 1.156 kB / 329 MB, free: 15.01 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001281/0.4884, allocations: 0.8111 MB / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.4884, allocations: 8.906 kB / 329.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.4886, allocations: 46.53 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.4891, allocations: 286.9 kB / 330.2 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.4892, allocations: 9.906 kB / 330.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.4892, allocations: 13.22 kB / 330.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.4898, allocations: 173.7 kB / 330.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4898, allocations: 0 / 330.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.4898, allocations: 12.19 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4898, allocations: 1.062 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.4901, allocations: 87.33 kB / 330.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.4911, allocations: 499.7 kB / 331 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.4914, allocations: 126.9 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.4916, allocations: 115.2 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4917, allocations: 1.25 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.4923, allocations: 251.7 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.4923, allocations: 4 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.00129/0.4936, allocations: 0.6121 MB / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.4937, allocations: 196 kB / 332.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.4945, allocations: 0.5678 MB / 332.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.4946, allocations: 33.7 kB / 332.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4947, allocations: 117 kB / 333 MB, free: 11.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.4947, allocations: 27.7 kB / 333 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.4949, allocations: 101.4 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4951, allocations: 334.8 kB / 333.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4953, allocations: 79.95 kB / 333.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.4954, allocations: 101.6 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4959, allocations: 430.8 kB / 334 MB, free: 10.53 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4959, allocations: 0 / 334 MB, free: 10.53 MB / 270.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000759/0.4967, allocations: 0.5057 MB / 334.5 MB, free: 9.988 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.4969, allocations: 152.5 kB / 334.7 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4969, allocations: 0 / 334.7 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4969, allocations: 4 kB / 334.7 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.4969, allocations: 0 / 334.7 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.497, allocations: 0 / 334.7 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4972, allocations: 23.89 kB / 334.7 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.4973, allocations: 101.2 kB / 334.8 MB, free: 9.68 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005506/0.4979, allocations: 396 kB / 335.2 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.498, allocations: 47.52 kB / 335.2 MB, free: 9.203 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.4981, allocations: 79.41 kB / 335.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4981, allocations: 0 / 335.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4981, allocations: 0 / 335.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4981, allocations: 0 / 335.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.4995, allocations: 0.9673 MB / 336.3 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4995, allocations: 0 / 336.3 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.4995, allocations: 0 / 336.3 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4995, allocations: 0 / 336.3 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4996, allocations: 19.98 kB / 336.3 MB, free: 8.047 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4996, allocations: 0 / 336.3 MB, free: 8.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4996, allocations: 7.938 kB / 336.3 MB, free: 8.039 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.5006, allocations: 0.6635 MB / 337 MB, free: 7.328 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.501, allocations: 260.4 kB / 337.2 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5012, allocations: 16 kB / 337.2 MB, free: 7.039 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5013, allocations: 15.98 kB / 337.3 MB, free: 7.023 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.5015, allocations: 55.88 kB / 337.3 MB, free: 6.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.5017, allocations: 101.2 kB / 337.4 MB, free: 6.871 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.5023, allocations: 422.8 kB / 337.8 MB, free: 6.461 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5023, allocations: 0 / 337.8 MB, free: 6.461 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.5026, allocations: 52 kB / 337.9 MB, free: 6.41 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.5028, allocations: 115.2 kB / 338 MB, free: 6.285 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009697/0.5038, allocations: 0.536 MB / 338.5 MB, free: 5.688 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5038, allocations: 0 / 338.5 MB, free: 5.688 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.5044, allocations: 461 kB / 339 MB, free: 5.176 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.5053, allocations: 193.2 kB / 339.2 MB, free: 4.992 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5069, allocations: 0.8706 MB / 340 MB, free: 4.098 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.5077, allocations: 0.8182 MB / 340.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.5078, allocations: 16.88 kB / 340.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.5078, allocations: 11.44 kB / 340.9 MB, free: 3.227 MB / 270.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5078, allocations: 3.938 kB / 340.9 MB, free: 3.223 MB / 270.1 MB Notification: Performance of Templates: time 0.01547/0.5233, allocations: 7.163 MB / 348 MB, free: 11.89 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1)