Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.000924/0.000924, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001108/0.001108, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0008262/0.0008264, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2791, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003668/0.2828, allocations: 2.036 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.286, allocations: 1.18 MB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.2864, allocations: 9.906 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2875, allocations: 205.8 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.288, allocations: 136.4 kB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.2888, allocations: 212.6 kB / 330.2 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007437/0.2896, allocations: 424.7 kB / 330.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.29, allocations: 160.9 kB / 330.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.2905, allocations: 142.2 kB / 330.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.2909, allocations: 170.8 kB / 331.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.291, allocations: 10.78 kB / 331.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.2913, allocations: 81.73 kB / 331.2 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.2915, allocations: 95.62 kB / 331.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2917, allocations: 100.8 kB / 331.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.2923, allocations: 383.6 kB / 331.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.2923, allocations: 0 / 331.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.2923, allocations: 0.9375 kB / 331.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.2924, allocations: 0 / 331.8 MB, free: 13.55 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.001861/0.2942, allocations: 0.7663 MB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.2943, allocations: 10.12 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2944, allocations: 59.27 kB / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.295, allocations: 382 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.2951, allocations: 60.88 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.2952, allocations: 35.62 kB / 333.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.296, allocations: 427.6 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.296, allocations: 1.188 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.2961, allocations: 25.55 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.2961, allocations: 11.94 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.2967, allocations: 258.7 kB / 333.8 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.2988, allocations: 1.699 MB / 335.5 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.2994, allocations: 292 kB / 335.8 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.2996, allocations: 130.5 kB / 335.9 MB, free: 9.812 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.2997, allocations: 11.98 kB / 335.9 MB, free: 9.801 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004883/0.3002, allocations: 329.1 kB / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 4.569e-06/0.3002, allocations: 0 / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009732/0.3012, allocations: 489 kB / 336.7 MB, free: 8.953 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3013, allocations: 170.2 kB / 336.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.3019, allocations: 489.2 kB / 337.3 MB, free: 8.266 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.3019, allocations: 41.7 kB / 337.4 MB, free: 8.219 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.3021, allocations: 232.6 kB / 337.6 MB, free: 7.988 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.3022, allocations: 82.94 kB / 337.7 MB, free: 7.906 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.3023, allocations: 12 kB / 337.7 MB, free: 7.895 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3025, allocations: 358.8 kB / 338 MB, free: 7.535 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.3027, allocations: 113.1 kB / 338.2 MB, free: 7.426 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.3032, allocations: 266.6 kB / 338.4 MB, free: 7.105 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.3035, allocations: 166 kB / 338.6 MB, free: 6.938 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3035, allocations: 7.938 kB / 338.6 MB, free: 6.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007936/0.3043, allocations: 482.1 kB / 339.1 MB, free: 6.445 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.3044, allocations: 34.17 kB / 339.1 MB, free: 6.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3044, allocations: 8.312 kB / 339.1 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3044, allocations: 4 kB / 339.1 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3046, allocations: 47.91 kB / 339.2 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3046, allocations: 15.88 kB / 339.2 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3049, allocations: 51.67 kB / 339.2 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.3049, allocations: 27.98 kB / 339.2 MB, free: 6.254 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,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0002848/0.3052, allocations: 248.6 kB / 339.5 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.3053, allocations: 47.39 kB / 339.5 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.3058, allocations: 269.1 kB / 339.8 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3058, allocations: 4 kB / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3058, allocations: 8 kB / 339.8 MB, free: 5.656 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3058, allocations: 0 / 339.8 MB, free: 5.656 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3069, allocations: 0.775 MB / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3069, allocations: 3.938 kB / 340.6 MB, free: 4.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.307, allocations: 19.92 kB / 340.6 MB, free: 4.801 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.307, allocations: 8 kB / 340.6 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.307, allocations: 12 kB / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.307, allocations: 0 / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.307, allocations: 7.984 kB / 340.6 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.3078, allocations: 0.5033 MB / 341.1 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3079, allocations: 132.5 kB / 341.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.308, allocations: 8 kB / 341.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3082, allocations: 27.98 kB / 341.3 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3083, allocations: 39.94 kB / 341.3 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3084, allocations: 19.98 kB / 341.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.3088, allocations: 319.1 kB / 341.7 MB, free: 3.691 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3088, allocations: 4 kB / 341.7 MB, free: 3.688 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.3093, allocations: 119.9 kB / 341.8 MB, free: 3.57 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 (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.001083/0.3104, allocations: 456 kB / 342.2 MB, free: 3.125 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.3111, allocations: 407.3 kB / 342.6 MB, free: 2.715 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3111, allocations: 4 kB / 342.6 MB, free: 2.711 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.3115, allocations: 247 kB / 342.9 MB, free: 2.457 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.312, allocations: 74.16 kB / 343 MB, free: 2.387 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.3137, allocations: 0.8777 MB / 343.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.3142, allocations: 0.8435 MB / 344.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.3144, allocations: 87.8 kB / 344.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.3146, allocations: 43.42 kB / 344.8 MB, free: 492 kB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3146, allocations: 0 / 344.8 MB, free: 492 kB / 270.1 MB Notification: Performance of Templates: time 0.01024/0.3248, allocations: 4.923 MB / 349.7 MB, free: 11.55 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1)