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.001474/0.001474, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.378/1.378, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001735/0.001735, allocations: 116.4 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.33e-05, allocations: 8 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.08981, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/0.3643, allocations: 72.24 MB / 414.8 MB, free: 23.59 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.3645, allocations: 66.47 kB / 414.9 MB, free: 23.55 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.007004/0.3716, allocations: 2.751 MB / 417.6 MB, free: 21.26 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3716, allocations: 4.562 kB / 417.6 MB, free: 21.25 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3716, allocations: 4 kB / 417.6 MB, free: 21.25 MB / 315.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.0005381/0.3722, allocations: 476.5 kB / 418.1 MB, free: 20.76 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3722, allocations: 12.03 kB / 418.1 MB, free: 20.75 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.3723, allocations: 25.44 kB / 418.1 MB, free: 20.72 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3725, allocations: 226.5 kB / 418.4 MB, free: 20.47 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3725, allocations: 8.953 kB / 418.4 MB, free: 20.46 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3726, allocations: 12.7 kB / 418.4 MB, free: 20.45 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001863/0.3728, allocations: 102 kB / 418.5 MB, free: 20.39 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.373, allocations: 179.4 kB / 418.7 MB, free: 20.22 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.373, allocations: 0 / 418.7 MB, free: 20.22 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.373, allocations: 4 kB / 418.7 MB, free: 20.22 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3731, allocations: 9.188 kB / 418.7 MB, free: 20.21 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.3739, allocations: 0.7744 MB / 419.4 MB, free: 19.46 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.3744, allocations: 179.5 kB / 419.6 MB, free: 19.3 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.3745, allocations: 49.53 kB / 419.7 MB, free: 19.27 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3745, allocations: 4 kB / 419.7 MB, free: 19.26 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3747, allocations: 130.4 kB / 419.8 MB, free: 19.14 MB / 315.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3747, allocations: 7.938 kB / 419.8 MB, free: 19.13 MB / 315.1 MB Notification: Performance of matching and sorting (n=15): time 0.000394/0.3751, allocations: 152.1 kB / 419.9 MB, free: 19 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3752, allocations: 79.8 kB / 420 MB, free: 18.91 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3753, allocations: 182.8 kB / 420.2 MB, free: 18.75 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3753, allocations: 29.7 kB / 420.2 MB, free: 18.71 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.3754, allocations: 141.3 kB / 420.4 MB, free: 18.59 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3754, allocations: 26.58 kB / 420.4 MB, free: 18.57 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.3754, allocations: 0 / 420.4 MB, free: 18.57 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.3755, allocations: 339.6 kB / 420.7 MB, free: 18.24 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.3756, allocations: 54.23 kB / 420.8 MB, free: 18.2 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.3757, allocations: 121 kB / 420.9 MB, free: 18.08 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.3758, allocations: 64.95 kB / 421 MB, free: 18.03 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3758, allocations: 0 / 421 MB, free: 18.03 MB / 315.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002584/0.3761, allocations: 206.5 kB / 421.2 MB, free: 17.86 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3761, allocations: 4.25 kB / 421.2 MB, free: 17.86 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3761, allocations: 8 kB / 421.2 MB, free: 17.85 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3761, allocations: 4 kB / 421.2 MB, free: 17.84 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3763, allocations: 39.91 kB / 421.2 MB, free: 17.8 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3763, allocations: 5.375 kB / 421.2 MB, free: 17.8 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3765, allocations: 31.83 kB / 421.3 MB, free: 17.77 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.3765, allocations: 7.562 kB / 421.3 MB, free: 17.77 MB / 315.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.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 7.09e-05/0.3766, allocations: 130.9 kB / 421.4 MB, free: 17.63 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3766, allocations: 23.12 kB / 421.4 MB, free: 17.61 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3768, allocations: 119.7 kB / 421.5 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3768, allocations: 4 kB / 421.5 MB, free: 17.51 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3768, allocations: 0 / 421.5 MB, free: 17.51 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3769, allocations: 0 / 421.5 MB, free: 17.51 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.3773, allocations: 443.8 kB / 422 MB, free: 17.08 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3773, allocations: 1.062 kB / 422 MB, free: 17.08 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3774, allocations: 23.86 kB / 422 MB, free: 17.06 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3774, allocations: 4 kB / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3775, allocations: 7.359 kB / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3775, allocations: 5.125 kB / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3775, allocations: 0 / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3777, allocations: 268.5 kB / 422.3 MB, free: 16.79 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.3777, allocations: 95.34 kB / 422.4 MB, free: 16.68 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3778, allocations: 7.984 kB / 422.4 MB, free: 16.67 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3779, allocations: 19.98 kB / 422.4 MB, free: 16.65 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.378, allocations: 25.28 kB / 422.4 MB, free: 16.63 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.378, allocations: 4 kB / 422.4 MB, free: 16.63 MB / 315.1 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.3781, allocations: 137.7 kB / 422.6 MB, free: 16.51 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3781, allocations: 3.938 kB / 422.6 MB, free: 16.51 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3784, allocations: 44.16 kB / 422.6 MB, free: 16.47 MB / 315.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.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.0001527/0.3786, allocations: 115.2 kB / 422.7 MB, free: 16.34 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3788, allocations: 138 kB / 422.8 MB, free: 16.24 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3788, allocations: 0 / 422.8 MB, free: 16.24 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.3789, allocations: 67.34 kB / 422.9 MB, free: 16.19 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3792, allocations: 27.02 kB / 422.9 MB, free: 16.18 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.3797, allocations: 238.1 kB / 423.2 MB, free: 15.95 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3799, allocations: 0.736 MB / 423.9 MB, free: 15.18 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.372e-05/0.38, allocations: 33.83 kB / 423.9 MB, free: 15.15 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.38, allocations: 22.25 kB / 424 MB, free: 15.13 MB / 315.1 MB Notification: Performance of SimCode: time 3.31e-07/0.38, allocations: 0 / 424 MB, free: 15.13 MB / 315.1 MB Notification: Performance of Templates: time 0.003628/0.3837, allocations: 1.66 MB / 425.6 MB, free: 13.52 MB / 315.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)