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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.516/1.516, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001869/0.00187, allocations: 116.7 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.022e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09492, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4533, allocations: 72.91 MB / 422.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.4535, allocations: 73.92 kB / 422.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006998/0.4605, allocations: 2.764 MB / 425.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4606, allocations: 0 / 425.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.4606, allocations: 3.812 kB / 425.2 MB, free: 10.45 MB / 298.7 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.0006978/0.4613, allocations: 476.2 kB / 425.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4614, allocations: 11.62 kB / 425.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.4614, allocations: 26.53 kB / 425.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4617, allocations: 239.9 kB / 425.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.4617, allocations: 14.88 kB / 425.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.4617, allocations: 14.94 kB / 425.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.462, allocations: 191 kB / 426.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4621, allocations: 3.938 kB / 426.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.4621, allocations: 10.53 kB / 426.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.4621, allocations: 3.969 kB / 426.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.4623, allocations: 113 kB / 426.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009959/0.4633, allocations: 0.807 MB / 427.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.4639, allocations: 197.1 kB / 427.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.464, allocations: 49.81 kB / 427.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.464, allocations: 7.828 kB / 427.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.4642, allocations: 134.9 kB / 427.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4642, allocations: 0 / 427.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002848/0.4645, allocations: 166.2 kB / 427.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.4645, allocations: 84.3 kB / 427.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4647, allocations: 200.4 kB / 427.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4647, allocations: 29.27 kB / 427.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.4648, allocations: 136.4 kB / 428 MB, free: 8.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4648, allocations: 36.61 kB / 428.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.4648, allocations: 10.16 kB / 428.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.4649, allocations: 329.1 kB / 428.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.465, allocations: 56.92 kB / 428.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4651, allocations: 131.1 kB / 428.6 MB, free: 7.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.4652, allocations: 69.14 kB / 428.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4652, allocations: 0 / 428.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002751/0.4655, allocations: 232 kB / 428.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4655, allocations: 11.38 kB / 428.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4655, allocations: 3.812 kB / 428.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4656, allocations: 7.656 kB / 428.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.4657, allocations: 34.11 kB / 428.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4657, allocations: 11.77 kB / 429 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4659, allocations: 30.11 kB / 429 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.466, allocations: 19.2 kB / 429 MB, free: 7.855 MB / 298.7 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.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete 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.0001025/0.4661, allocations: 129.8 kB / 429.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.4661, allocations: 15.66 kB / 429.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4664, allocations: 124.4 kB / 429.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4664, allocations: 7.516 kB / 429.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4664, allocations: 0 / 429.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4664, allocations: 0 / 429.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.4669, allocations: 486.5 kB / 429.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4669, allocations: 3.906 kB / 429.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.467, allocations: 19.42 kB / 429.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.4671, allocations: 0 / 429.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4671, allocations: 7.375 kB / 429.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4671, allocations: 7.891 kB / 429.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4671, allocations: 0 / 429.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4674, allocations: 280.9 kB / 430.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.4674, allocations: 92.45 kB / 430.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4674, allocations: 3.938 kB / 430.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4676, allocations: 30.66 kB / 430.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.4677, allocations: 23.45 kB / 430.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.4677, allocations: 7.469 kB / 430.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.4678, allocations: 144.7 kB / 430.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4678, allocations: 3.938 kB / 430.4 MB, free: 6.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.4681, allocations: 42.53 kB / 430.4 MB, free: 6.875 MB / 298.7 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.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * 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.0001603/0.4682, allocations: 118.6 kB / 430.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4685, allocations: 148.4 kB / 430.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4685, allocations: 0 / 430.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4686, allocations: 71.16 kB / 430.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4689, allocations: 30.39 kB / 430.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.4694, allocations: 245 kB / 431 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4695, allocations: 0.7389 MB / 431.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.455e-05/0.4696, allocations: 32.75 kB / 431.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.4697, allocations: 22.95 kB / 431.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4697, allocations: 0 / 431.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Templates: time 0.004055/0.4738, allocations: 1.792 MB / 433.6 MB, free: 4.961 MB / 298.7 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)