Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.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.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001062/0.001062, allocations: 182.7 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.588/1.588, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001612/0.001612, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.052e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09199, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.421, allocations: 75.09 MB / 424.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4212, allocations: 69.25 kB / 424.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.4337, allocations: 4.986 MB / 429.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4337, allocations: 3.938 kB / 429.6 MB, free: 9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.4337, allocations: 11.69 kB / 429.6 MB, free: 8.996 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0006871/0.4344, allocations: 0.6503 MB / 430.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4345, allocations: 7.688 kB / 430.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.4346, allocations: 46.59 kB / 430.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4349, allocations: 306.2 kB / 430.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.435, allocations: 59.81 kB / 430.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.435, allocations: 40.53 kB / 430.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.4356, allocations: 387.9 kB / 431.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4356, allocations: 3.938 kB / 431.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.4356, allocations: 18.28 kB / 431.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.4357, allocations: 15.83 kB / 431.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.436, allocations: 229.5 kB / 431.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4373, allocations: 1.574 MB / 432.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.4377, allocations: 267.5 kB / 433.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.4378, allocations: 125.8 kB / 433.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.4379, allocations: 14.89 kB / 433.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.4382, allocations: 345 kB / 433.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.4382, allocations: 4 kB / 433.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005008/0.4387, allocations: 400.1 kB / 434 MB, free: 6.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.4388, allocations: 199.3 kB / 434.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.439, allocations: 264 kB / 434.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.439, allocations: 36.64 kB / 434.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.4391, allocations: 182.4 kB / 434.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.4391, allocations: 80.86 kB / 434.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.4392, allocations: 10.5 kB / 434.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.4392, allocations: 349.1 kB / 435.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4394, allocations: 109.9 kB / 435.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4396, allocations: 235.8 kB / 435.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4398, allocations: 217.1 kB / 435.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4398, allocations: 3.812 kB / 435.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005244/0.4403, allocations: 0.5161 MB / 436.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.4404, allocations: 95.84 kB / 436.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4404, allocations: 3.469 kB / 436.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4404, allocations: 11.55 kB / 436.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.4405, allocations: 30.67 kB / 436.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4405, allocations: 11.67 kB / 436.4 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.4407, allocations: 42.2 kB / 436.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.4408, allocations: 26.28 kB / 436.4 MB, free: 4.602 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0001229/0.4409, allocations: 224.8 kB / 436.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.4409, allocations: 34.62 kB / 436.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.4413, allocations: 240.2 kB / 436.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4413, allocations: 3.75 kB / 436.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4413, allocations: 3.953 kB / 436.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4413, allocations: 0 / 436.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.4423, allocations: 0.9847 MB / 437.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4423, allocations: 4 kB / 437.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.4423, allocations: 18.83 kB / 437.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4423, allocations: 0 / 437.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.4424, allocations: 11.19 kB / 437.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4424, allocations: 3.844 kB / 437.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4424, allocations: 0 / 437.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.4429, allocations: 0.634 MB / 438.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.4429, allocations: 107.6 kB / 438.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.443, allocations: 11 kB / 438.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4432, allocations: 33.78 kB / 438.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.4433, allocations: 30.77 kB / 438.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.4434, allocations: 22.86 kB / 438.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4435, allocations: 171.5 kB / 438.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4435, allocations: 0 / 438.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.4439, allocations: 103.5 kB / 439 MB, free: 3.102 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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.0002115/0.4441, allocations: 172.6 kB / 439.2 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.4446, allocations: 498.7 kB / 439.7 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4446, allocations: 3.938 kB / 439.7 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.4448, allocations: 302.2 kB / 440 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4452, allocations: 44.92 kB / 440 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000703/0.4459, allocations: 472.3 kB / 440.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4461, allocations: 0.8032 MB / 441.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.4462, allocations: 49.69 kB / 441.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.4463, allocations: 37.55 kB / 441.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4463, allocations: 0 / 441.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of Templates: time 0.006521/0.4528, allocations: 3.537 MB / 444.9 MB, free: 15.73 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1)