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.001179/0.001179, allocations: 187.9 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.481/1.481, allocations: 194.3 MB / 203.1 MB, free: 9.324 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.001616/0.001616, allocations: 116.7 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.826e-05, allocations: 4 kB / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.08139, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.3378, allocations: 74.43 MB / 417 MB, free: 21.48 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.338, allocations: 66.41 kB / 417.1 MB, free: 21.45 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.3505, allocations: 4.949 MB / 422 MB, free: 17.26 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3506, allocations: 0.75 kB / 422 MB, free: 17.26 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.3506, allocations: 15.94 kB / 422 MB, free: 17.24 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0006953/0.3513, allocations: 0.6456 MB / 422.7 MB, free: 16.56 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3513, allocations: 11.97 kB / 422.7 MB, free: 16.55 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.3514, allocations: 49.25 kB / 422.7 MB, free: 16.5 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3517, allocations: 297.2 kB / 423 MB, free: 16.2 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.3518, allocations: 45.75 kB / 423.1 MB, free: 16.15 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.3518, allocations: 24 kB / 423.1 MB, free: 16.12 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000316/0.3522, allocations: 206.3 kB / 423.3 MB, free: 15.99 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.3526, allocations: 349.1 kB / 423.6 MB, free: 15.68 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3526, allocations: 0 / 423.6 MB, free: 15.68 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.3526, allocations: 4 kB / 423.6 MB, free: 15.68 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.3526, allocations: 12.44 kB / 423.6 MB, free: 15.66 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3539, allocations: 1.508 MB / 425.2 MB, free: 14.22 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.3542, allocations: 240.5 kB / 425.4 MB, free: 14.02 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3543, allocations: 125 kB / 425.5 MB, free: 13.93 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.3544, allocations: 7.906 kB / 425.5 MB, free: 13.92 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.3547, allocations: 339.3 kB / 425.8 MB, free: 13.59 MB / 315.1 MB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/0.3547, allocations: 0 / 425.8 MB, free: 13.59 MB / 315.1 MB Notification: Performance of matching and sorting (n=36): time 0.0005647/0.3553, allocations: 331.9 kB / 426.2 MB, free: 13.32 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3553, allocations: 194.8 kB / 426.4 MB, free: 13.09 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3555, allocations: 249.9 kB / 426.6 MB, free: 12.89 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3555, allocations: 33.2 kB / 426.6 MB, free: 12.86 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3556, allocations: 187.5 kB / 426.8 MB, free: 12.7 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.3557, allocations: 69.69 kB / 426.9 MB, free: 12.65 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3557, allocations: 0 / 426.9 MB, free: 12.65 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.3557, allocations: 347.5 kB / 427.2 MB, free: 12.32 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3559, allocations: 105.2 kB / 427.3 MB, free: 12.24 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.356, allocations: 217.7 kB / 427.5 MB, free: 12.03 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3563, allocations: 133.9 kB / 427.7 MB, free: 11.93 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3563, allocations: 4 kB / 427.7 MB, free: 11.93 MB / 315.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005728/0.3569, allocations: 394.2 kB / 428.1 MB, free: 11.61 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.357, allocations: 97.03 kB / 428.2 MB, free: 11.5 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.357, allocations: 4 kB / 428.2 MB, free: 11.5 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.357, allocations: 8 kB / 428.2 MB, free: 11.49 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3571, allocations: 34.98 kB / 428.2 MB, free: 11.46 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3571, allocations: 7.938 kB / 428.2 MB, free: 11.45 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3573, allocations: 35.78 kB / 428.2 MB, free: 11.41 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.3574, allocations: 27.3 kB / 428.3 MB, free: 11.39 MB / 315.1 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.0001143/0.3575, allocations: 208 kB / 428.5 MB, free: 11.18 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3575, allocations: 35.62 kB / 428.5 MB, free: 11.14 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.3579, allocations: 233.6 kB / 428.7 MB, free: 10.96 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.358, allocations: 4 kB / 428.7 MB, free: 10.96 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.358, allocations: 0 / 428.7 MB, free: 10.96 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.358, allocations: 9.016 kB / 428.8 MB, free: 10.95 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.3589, allocations: 0.8485 MB / 429.6 MB, free: 10.19 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3589, allocations: 0 / 429.6 MB, free: 10.19 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3589, allocations: 14.42 kB / 429.6 MB, free: 10.18 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3589, allocations: 4 kB / 429.6 MB, free: 10.18 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.359, allocations: 11.08 kB / 429.6 MB, free: 10.17 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.359, allocations: 9.875 kB / 429.6 MB, free: 10.16 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.359, allocations: 3.938 kB / 429.6 MB, free: 10.16 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.3595, allocations: 0.5474 MB / 430.2 MB, free: 9.652 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3596, allocations: 96.83 kB / 430.3 MB, free: 9.539 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.3597, allocations: 15.69 kB / 430.3 MB, free: 9.527 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3599, allocations: 27.91 kB / 430.3 MB, free: 9.5 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.36, allocations: 38.52 kB / 430.4 MB, free: 9.473 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.36, allocations: 15.98 kB / 430.4 MB, free: 9.457 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.3601, allocations: 159.6 kB / 430.5 MB, free: 9.324 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3601, allocations: 0 / 430.5 MB, free: 9.324 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.3606, allocations: 99.64 kB / 430.6 MB, free: 9.23 MB / 315.1 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.0002319/0.3608, allocations: 161 kB / 430.8 MB, free: 9.07 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.3613, allocations: 465 kB / 431.2 MB, free: 8.664 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3613, allocations: 0.875 kB / 431.2 MB, free: 8.664 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3615, allocations: 290.8 kB / 431.5 MB, free: 8.418 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3619, allocations: 41.55 kB / 431.6 MB, free: 8.387 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.3626, allocations: 449.4 kB / 432 MB, free: 7.977 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.363, allocations: 0.8065 MB / 432.8 MB, free: 7.145 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3631, allocations: 59.19 kB / 432.9 MB, free: 7.086 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.3632, allocations: 31.42 kB / 432.9 MB, free: 7.055 MB / 315.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3632, allocations: 0 / 432.9 MB, free: 7.055 MB / 315.1 MB Notification: Performance of Templates: time 0.006045/0.3692, allocations: 3.393 MB / 436.3 MB, free: 3.75 MB / 315.1 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)