Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.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.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009762, allocations: 88.64 kB / 16.32 MB, free: 6.449 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.001005/0.001005, allocations: 178.9 kB / 17.21 MB, free: 6.32 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.615/1.615, allocations: 205.4 MB / 223.4 MB, free: 5.574 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.0004731/0.0004731, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3352, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002232/0.3375, allocations: 1.489 MB / 329.2 MB, free: 260 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3389, allocations: 0.622 MB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.339, allocations: 3.594 kB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3392, allocations: 21.7 kB / 329.9 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3393, allocations: 22.86 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.3397, allocations: 60.59 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.34, allocations: 160.9 kB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3402, allocations: 57.17 kB / 330.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3403, allocations: 61.73 kB / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3405, allocations: 66 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3406, allocations: 5.812 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.3406, allocations: 8.531 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.3407, allocations: 33.62 kB / 330.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.3408, allocations: 60.27 kB / 330.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.341, allocations: 118.3 kB / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.3411, allocations: 0 / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.3411, allocations: 3.938 kB / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3411, allocations: 5.406 kB / 330.5 MB, free: 15.29 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001167/0.3423, allocations: 490.5 kB / 331 MB, free: 14.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3423, allocations: 8.375 kB / 331 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.3424, allocations: 27.47 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3427, allocations: 231.1 kB / 331.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3428, allocations: 15.8 kB / 331.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.3428, allocations: 14.06 kB / 331.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.3433, allocations: 219.7 kB / 331.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3433, allocations: 7.984 kB / 331.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.3434, allocations: 6.031 kB / 331.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.3434, allocations: 6.062 kB / 331.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3438, allocations: 149.8 kB / 331.7 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.345, allocations: 0.8002 MB / 332.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3456, allocations: 206.7 kB / 332.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3458, allocations: 68.61 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.3459, allocations: 2.469 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.3462, allocations: 150.2 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.3462, allocations: 5.5 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006553/0.3469, allocations: 252.8 kB / 333.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.347, allocations: 80.86 kB / 333.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.3472, allocations: 227.5 kB / 333.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3473, allocations: 35.92 kB / 333.5 MB, free: 12.92 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3474, allocations: 130.7 kB / 333.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.3474, allocations: 38.41 kB / 333.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.3474, allocations: 5.125 kB / 333.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3476, allocations: 331.7 kB / 334 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3478, allocations: 71.92 kB / 334 MB, free: 12.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.348, allocations: 138.3 kB / 334.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3482, allocations: 90.7 kB / 334.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3482, allocations: 0 / 334.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004794/0.3487, allocations: 255.9 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3487, allocations: 5.719 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3487, allocations: 6.984 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3488, allocations: 8.219 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.349, allocations: 36.92 kB / 334.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.349, allocations: 4.625 kB / 334.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3492, allocations: 45.94 kB / 334.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3492, allocations: 7.188 kB / 334.6 MB, free: 12.07 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.3494, allocations: 153.5 kB / 334.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.3494, allocations: 16.88 kB / 334.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3497, allocations: 133.9 kB / 334.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3497, allocations: 2.219 kB / 334.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3497, allocations: 320 / 334.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3497, allocations: 1.031 kB / 334.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.3504, allocations: 489.5 kB / 335.4 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3504, allocations: 0 / 335.4 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3506, allocations: 31.25 kB / 335.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3506, allocations: 2.188 kB / 335.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3506, allocations: 5.094 kB / 335.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3506, allocations: 1.062 kB / 335.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3506, allocations: 1.062 kB / 335.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.3511, allocations: 297.6 kB / 335.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.3511, allocations: 96.77 kB / 335.8 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.3512, allocations: 7.984 kB / 335.8 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3514, allocations: 19.98 kB / 335.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.3514, allocations: 23.91 kB / 335.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.3515, allocations: 15.98 kB / 335.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3516, allocations: 144.4 kB / 336 MB, free: 10.79 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3516, allocations: 192 / 336 MB, free: 10.79 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3519, allocations: 39.95 kB / 336.1 MB, free: 10.75 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.3521, allocations: 115.2 kB / 336.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3525, allocations: 171.8 kB / 336.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3525, allocations: 0 / 336.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3527, allocations: 83.89 kB / 336.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.353, allocations: 36.75 kB / 336.5 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.3538, allocations: 399.6 kB / 336.9 MB, free: 9.926 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3541, allocations: 0.7403 MB / 337.6 MB, free: 9.16 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.3542, allocations: 29.53 kB / 337.6 MB, free: 9.133 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3543, allocations: 23.42 kB / 337.6 MB, free: 9.109 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3543, allocations: 0 / 337.6 MB, free: 9.109 MB / 270.1 MB Notification: Performance of Templates: time 0.005116/0.3594, allocations: 1.794 MB / 339.4 MB, free: 7.316 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1)