Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001234/0.001234, allocations: 108.5 kB / 17.06 MB, free: 6.023 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.001117/0.001117, allocations: 192 kB / 18 MB, free: 5.105 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.982/1.982, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.00138/0.00138, allocations: 55.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003305/0.1525, allocations: 1.563 MB / 376.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.155, allocations: 0.9011 MB / 377 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1551, allocations: 4 kB / 377 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1553, allocations: 11.86 kB / 377 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1554, allocations: 19.81 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1558, allocations: 59.86 kB / 377 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1561, allocations: 159.7 kB / 377.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1562, allocations: 29.39 kB / 377.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.157, allocations: 0.6239 MB / 377.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1572, allocations: 83.61 kB / 377.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1573, allocations: 12 kB / 377.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.1573, allocations: 12 kB / 378 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1575, allocations: 75.75 kB / 378 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.1576, allocations: 131 kB / 378.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.1583, allocations: 458.3 kB / 378.6 MB, free: 448 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1583, allocations: 0 / 378.6 MB, free: 448 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1583, allocations: 0 / 378.6 MB, free: 448 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.1583, allocations: 4 kB / 378.6 MB, free: 444 kB / 318.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.3915/0.5498, allocations: 0.8054 MB / 379.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001059/0.55, allocations: 10.05 kB / 379.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.5503, allocations: 45.59 kB / 379.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.5509, allocations: 294.9 kB / 379.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.5509, allocations: 6.812 kB / 379.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.551, allocations: 9.562 kB / 379.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.5517, allocations: 166.8 kB / 379.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5517, allocations: 3.672 kB / 379.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.5518, allocations: 15.08 kB / 380 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5518, allocations: 0 / 380 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.5521, allocations: 86.44 kB / 380 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.5537, allocations: 0.4979 MB / 380.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.5541, allocations: 121.6 kB / 380.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.5544, allocations: 109.2 kB / 380.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.5544, allocations: 2 kB / 380.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007004/0.5551, allocations: 250.2 kB / 381 MB, free: 12.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 3.797e-06/0.5551, allocations: 0.5 kB / 381 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001785/0.5569, allocations: 0.6115 MB / 381.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.5571, allocations: 195 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.5585, allocations: 0.5639 MB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.5585, allocations: 36.66 kB / 382.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5586, allocations: 112.7 kB / 382.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.5587, allocations: 30.3 kB / 382.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.5589, allocations: 101.3 kB / 382.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5591, allocations: 334 kB / 383 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.5593, allocations: 79.2 kB / 383.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.5596, allocations: 103 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.5601, allocations: 434.9 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5601, allocations: 3.281 kB / 383.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001001/0.5611, allocations: 0.5058 MB / 384.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5613, allocations: 151.2 kB / 384.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5613, allocations: 0 / 384.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.5613, allocations: 0.9375 kB / 384.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.5614, allocations: 6.438 kB / 384.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5614, allocations: 1.812 kB / 384.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5616, allocations: 14.73 kB / 384.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.5619, allocations: 95.56 kB / 384.4 MB, free: 10.2 MB / 318.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.0008363/0.5628, allocations: 415.3 kB / 384.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5629, allocations: 46.86 kB / 384.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5631, allocations: 68.33 kB / 384.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5632, allocations: 0.8438 kB / 384.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.5632, allocations: 3.031 kB / 384.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5632, allocations: 0 / 384.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.5653, allocations: 0.961 MB / 385.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5654, allocations: 1.031 kB / 385.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.5654, allocations: 0.7969 kB / 385.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5654, allocations: 4.969 kB / 385.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.5655, allocations: 19.5 kB / 385.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5655, allocations: 0 / 385.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5655, allocations: 1 kB / 385.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.5669, allocations: 0.6686 MB / 386.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.5675, allocations: 256.3 kB / 386.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.5676, allocations: 12.64 kB / 386.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.5678, allocations: 17.22 kB / 386.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.5681, allocations: 61.02 kB / 386.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/0.5683, allocations: 104.8 kB / 387 MB, free: 8.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009824/0.5693, allocations: 423.7 kB / 387.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5693, allocations: 1.125 kB / 387.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.5698, allocations: 51.5 kB / 387.4 MB, free: 8.332 MB / 318.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.0002551/0.57, allocations: 119.7 kB / 387.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.5709, allocations: 0.5383 MB / 388.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5709, allocations: 4.062 kB / 388.1 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.5714, allocations: 463.3 kB / 388.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5725, allocations: 184.9 kB / 388.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.5744, allocations: 0.7482 MB / 389.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.5749, allocations: 0.8183 MB / 390.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.575, allocations: 20.7 kB / 390.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.5751, allocations: 13.02 kB / 390.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5751, allocations: 5.094 kB / 390.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of Templates: time 0.02436/0.5995, allocations: 7.427 MB / 397.8 MB, free: 4.352 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1)