Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006762/0.006762, allocations: 165.7 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.376/1.376, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 38.77 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0951/0.3367, allocations: 69.87 MB / 382.7 MB, free: 4.656 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.3369, allocations: 67.97 kB / 382.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.3523, allocations: 5.01 MB / 387.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3524, allocations: 4 kB / 387.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.3524, allocations: 12 kB / 387.8 MB, free: 15.55 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.001152/0.3536, allocations: 0.6731 MB / 388.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3536, allocations: 11.97 kB / 388.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3537, allocations: 51.44 kB / 388.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.3542, allocations: 285.6 kB / 388.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.3543, allocations: 54.36 kB / 388.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.3544, allocations: 40 kB / 388.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.3552, allocations: 411.8 kB / 389.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.3553, allocations: 4 kB / 389.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.3553, allocations: 12 kB / 389.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.3554, allocations: 12.44 kB / 389.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.3559, allocations: 249.5 kB / 389.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.3579, allocations: 1.581 MB / 391.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.3584, allocations: 278.6 kB / 391.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.3585, allocations: 8 kB / 391.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.359, allocations: 357.5 kB / 391.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.006e-06/0.359, allocations: 4 kB / 391.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001025/0.36, allocations: 0.6621 MB / 392.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3601, allocations: 195.9 kB / 392.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3604, allocations: 257.6 kB / 392.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.3605, allocations: 41.69 kB / 393 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3606, allocations: 188.6 kB / 393.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.061e-05/0.3607, allocations: 87.03 kB / 393.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.3607, allocations: 12 kB / 393.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3609, allocations: 346.8 kB / 393.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.3611, allocations: 117 kB / 393.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.3614, allocations: 240.1 kB / 393.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3617, allocations: 215.1 kB / 394.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3617, allocations: 0 / 394.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007928/0.3625, allocations: 0.5236 MB / 394.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.806e-05/0.3626, allocations: 97.09 kB / 394.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3626, allocations: 4 kB / 394.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3627, allocations: 8.062 kB / 394.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3628, allocations: 35.86 kB / 394.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3628, allocations: 8 kB / 394.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.363, allocations: 40.28 kB / 394.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.3631, allocations: 24 kB / 394.9 MB, free: 7.957 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 () * Number of clocked 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.0002836/0.3634, allocations: 257 kB / 395.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.3634, allocations: 35.62 kB / 395.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.3639, allocations: 255.7 kB / 395.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.3639, allocations: 4 kB / 395.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3639, allocations: 288 / 395.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.364, allocations: 3.984 kB / 395.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3653, allocations: 0.9964 MB / 396.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3653, allocations: 0 / 396.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.3654, allocations: 4 kB / 396.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3654, allocations: 4 kB / 396.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.3654, allocations: 16.08 kB / 396.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3654, allocations: 7.938 kB / 396.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3654, allocations: 3.953 kB / 396.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.3662, allocations: 0.6518 MB / 397.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.3663, allocations: 104.7 kB / 397.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.3664, allocations: 16 kB / 397.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3666, allocations: 35.97 kB / 397.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3667, allocations: 35.94 kB / 397.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3668, allocations: 19.98 kB / 397.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.367, allocations: 178 kB / 397.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.367, allocations: 3.938 kB / 397.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.3675, allocations: 103.9 kB / 397.6 MB, free: 5.086 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) * Number of clocked states: 0 () * 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.0002736/0.3678, allocations: 161.7 kB / 397.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.3684, allocations: 0.4988 MB / 398.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3684, allocations: 0 / 398.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.3688, allocations: 310.7 kB / 398.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3692, allocations: 43.05 kB / 398.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3703, allocations: 0.6974 MB / 399.3 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3708, allocations: 0.7958 MB / 400.1 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.3709, allocations: 59.12 kB / 400.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.371, allocations: 35.42 kB / 400.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.371, allocations: 0 / 400.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of Templates: time 0.008147/0.3792, allocations: 3.527 MB / 403.7 MB, free: 14.86 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1)