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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009574, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008726/0.008726, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005554, allocations: 16.38 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3255, allocations: 47.58 MB / 327 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002875/0.3284, allocations: 2.105 MB / 329.1 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3309, allocations: 1.222 MB / 330.3 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.3311, allocations: 8.688 kB / 330.4 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.3319, allocations: 212.7 kB / 330.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.3323, allocations: 143.9 kB / 330.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.333, allocations: 240.2 kB / 330.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.3335, allocations: 449.1 kB / 331.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.3339, allocations: 199.4 kB / 331.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.3341, allocations: 148.4 kB / 331.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.3343, allocations: 166.8 kB / 331.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.3344, allocations: 11.16 kB / 331.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.3346, allocations: 94.5 kB / 332 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3348, allocations: 95.53 kB / 332.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.335, allocations: 209.7 kB / 332.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.3357, allocations: 494.2 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3357, allocations: 0 / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3357, allocations: 1 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3357, allocations: 4 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001369/0.3371, allocations: 0.7638 MB / 333.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3371, allocations: 13.59 kB / 333.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3372, allocations: 56.31 kB / 333.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.3378, allocations: 396.2 kB / 334 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.3379, allocations: 57.3 kB / 334 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.338, allocations: 46.61 kB / 334.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3386, allocations: 429 kB / 334.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3387, allocations: 3.938 kB / 334.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3387, allocations: 16 kB / 334.5 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3387, allocations: 12.44 kB / 334.5 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.3392, allocations: 273.5 kB / 334.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3413, allocations: 1.686 MB / 336.5 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.3419, allocations: 300 kB / 336.8 MB, free: 9.477 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.3421, allocations: 138.4 kB / 336.9 MB, free: 9.332 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.208e-05/0.3422, allocations: 12 kB / 336.9 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/0.3427, allocations: 328.3 kB / 337.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/0.3427, allocations: 0 / 337.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001014/0.3437, allocations: 490.6 kB / 337.7 MB, free: 8.469 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3439, allocations: 166.2 kB / 337.9 MB, free: 8.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.3445, allocations: 489.2 kB / 338.4 MB, free: 7.785 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.3445, allocations: 45.69 kB / 338.4 MB, free: 7.734 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3447, allocations: 220.6 kB / 338.6 MB, free: 7.516 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3449, allocations: 94.91 kB / 338.7 MB, free: 7.422 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.345, allocations: 73.67 kB / 338.8 MB, free: 7.344 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3452, allocations: 362.7 kB / 339.1 MB, free: 6.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.3455, allocations: 117.1 kB / 339.3 MB, free: 6.867 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.3458, allocations: 270.7 kB / 339.5 MB, free: 6.539 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.3464, allocations: 422.5 kB / 339.9 MB, free: 6.059 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3464, allocations: 0 / 339.9 MB, free: 6.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007634/0.3472, allocations: 478.3 kB / 340.4 MB, free: 5.578 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.3473, allocations: 37.69 kB / 340.4 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3473, allocations: 8 kB / 340.5 MB, free: 5.527 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3473, allocations: 4 kB / 340.5 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3475, allocations: 47.84 kB / 340.5 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3475, allocations: 12.14 kB / 340.5 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3477, allocations: 59.98 kB / 340.6 MB, free: 5.406 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3478, allocations: 20 kB / 340.6 MB, free: 5.387 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition5,$whenCondition4,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay.t_next,onDelay.delaySignal,onDelay.y,onDelay.u,$whenCondition3,$whenCondition2,sampleTriggerReset.y,sampleTriggerSet.y,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,triggeredAdd.local_set,triggeredAdd.local_reset,set1.expr[2],set1.expr[1],changing.y,changing.u,$PRE.changing.u,falling.not_u,$PRE.falling.not_u,set1.firstActiveIndex,set1.y,$PRE.set1.y,set1.u[2],set1.u[1],rising.u,$PRE.rising.u,nor1.y,or2.u[1],nand1.u[1],xor1.u[1],or1.u[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,and1.u[2],and1.u[1],$whenCondition6,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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000428/0.3482, allocations: 256.5 kB / 340.8 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.3483, allocations: 51.44 kB / 340.9 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.3488, allocations: 261.6 kB / 341.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3489, allocations: 4 kB / 341.2 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.3489, allocations: 7.938 kB / 341.2 MB, free: 4.785 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3489, allocations: 3.984 kB / 341.2 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.3501, allocations: 0.7828 MB / 341.9 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3501, allocations: 0 / 341.9 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.3502, allocations: 11.94 kB / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.3502, allocations: 4 kB / 342 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.3503, allocations: 15.92 kB / 342 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3503, allocations: 7.938 kB / 342 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3503, allocations: 0 / 342 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.3511, allocations: 0.5116 MB / 342.5 MB, free: 3.363 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3513, allocations: 120.6 kB / 342.6 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.3513, allocations: 19.94 kB / 342.6 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3516, allocations: 31.97 kB / 342.7 MB, free: 3.176 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3517, allocations: 39.95 kB / 342.7 MB, free: 3.137 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.3518, allocations: 15.98 kB / 342.7 MB, free: 3.121 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.3522, allocations: 331.1 kB / 343 MB, free: 2.801 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3522, allocations: 0 / 343 MB, free: 2.801 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005627/0.3527, allocations: 119.7 kB / 343.2 MB, free: 2.684 MB / 270.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: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,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: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.354, allocations: 464.6 kB / 343.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008357/0.3548, allocations: 391.3 kB / 344 MB, free: 1.832 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3548, allocations: 0.9375 kB / 344 MB, free: 1.832 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.3553, allocations: 250.9 kB / 344.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.3559, allocations: 77.52 kB / 344.3 MB, free: 1.496 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3577, allocations: 0.936 MB / 345.3 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.3583, allocations: 0.8475 MB / 346.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.3586, allocations: 75.81 kB / 346.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3587, allocations: 39.42 kB / 346.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3587, allocations: 4 kB / 346.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Templates: time 0.01159/0.3703, allocations: 5.064 MB / 351.3 MB, free: 10.48 MB / 286.1 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)