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.001336/0.001336, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.189/1.189, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001785/0.001785, allocations: 111.1 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.485e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06976/0.0698, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.3244, allocations: 69.78 MB / 377.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.3247, allocations: 66.97 kB / 377.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.3381, allocations: 4.989 MB / 382.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3381, allocations: 0 / 382.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3382, allocations: 12 kB / 382.5 MB, free: 2.152 MB / 266.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.0008176/0.339, allocations: 0.6453 MB / 383.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.339, allocations: 12.03 kB / 383.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.3391, allocations: 59.36 kB / 383.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3395, allocations: 285.8 kB / 383.5 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.3396, allocations: 53.92 kB / 383.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.3397, allocations: 43 kB / 383.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.3402, allocations: 407.5 kB / 384 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3402, allocations: 0 / 384 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3403, allocations: 11.75 kB / 384 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.3403, allocations: 16.19 kB / 384 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.3407, allocations: 231.2 kB / 384.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3422, allocations: 1.575 MB / 385.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3426, allocations: 264.6 kB / 386 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3428, allocations: 125 kB / 386.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.3429, allocations: 12.44 kB / 386.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.3433, allocations: 347.5 kB / 386.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.804e-06/0.3433, allocations: 0 / 386.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006141/0.3439, allocations: 400.5 kB / 386.9 MB, free: 14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.344, allocations: 203.7 kB / 387.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3442, allocations: 256.8 kB / 387.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.3443, allocations: 41.52 kB / 387.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3444, allocations: 190.9 kB / 387.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.3445, allocations: 78.55 kB / 387.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.3445, allocations: 7.938 kB / 387.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3447, allocations: 350 kB / 388 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3448, allocations: 107.8 kB / 388.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3451, allocations: 237.4 kB / 388.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3453, allocations: 211.5 kB / 388.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3453, allocations: 0 / 388.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006579/0.346, allocations: 0.5091 MB / 389.1 MB, free: 12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.3461, allocations: 88.05 kB / 389.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3461, allocations: 7.984 kB / 389.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3461, allocations: 8 kB / 389.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3462, allocations: 35.42 kB / 389.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3463, allocations: 11.94 kB / 389.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3465, allocations: 42.33 kB / 389.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.3465, allocations: 23.48 kB / 389.3 MB, free: 11.79 MB / 282.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.0001803/0.3467, allocations: 236.3 kB / 389.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.3468, allocations: 35.62 kB / 389.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.3472, allocations: 242 kB / 389.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3472, allocations: 7.984 kB / 389.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3472, allocations: 0 / 389.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3473, allocations: 0 / 389.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3484, allocations: 0.983 MB / 390.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3484, allocations: 3.984 kB / 390.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3485, allocations: 11.94 kB / 390.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3485, allocations: 0 / 390.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.3485, allocations: 18.48 kB / 390.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3485, allocations: 3.953 kB / 390.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3485, allocations: 0 / 390.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.3492, allocations: 0.6345 MB / 391.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.3492, allocations: 108.1 kB / 391.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.3493, allocations: 15.3 kB / 391.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3495, allocations: 30.67 kB / 391.6 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3496, allocations: 35.25 kB / 391.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3497, allocations: 19.19 kB / 391.6 MB, free: 9.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3498, allocations: 174.7 kB / 391.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3498, allocations: 3.938 kB / 391.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.3503, allocations: 99.88 kB / 391.9 MB, free: 9.363 MB / 282.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.0002458/0.3505, allocations: 169.2 kB / 392.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.3511, allocations: 499.6 kB / 392.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3511, allocations: 0 / 392.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.3514, allocations: 300.7 kB / 392.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3517, allocations: 44.47 kB / 392.9 MB, free: 8.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.3525, allocations: 488 kB / 393.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3529, allocations: 0.7997 MB / 394.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3531, allocations: 50.94 kB / 394.2 MB, free: 7.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.3531, allocations: 30.75 kB / 394.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3531, allocations: 8 kB / 394.3 MB, free: 7.125 MB / 282.7 MB Notification: Performance of Templates: time 0.00706/0.3602, allocations: 3.531 MB / 397.8 MB, free: 3.609 MB / 282.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)