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.0007852/0.0007853, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004884/0.004884, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004629/0.000463, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002612/0.2574, allocations: 2.096 MB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2596, allocations: 1.226 MB / 330.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.2598, allocations: 9.625 kB / 330.4 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.2607, allocations: 215.7 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.2611, allocations: 144.2 kB / 330.7 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.262, allocations: 236.5 kB / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.2626, allocations: 449 kB / 331.4 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.263, allocations: 198.5 kB / 331.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.2633, allocations: 148.4 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.2636, allocations: 171.8 kB / 331.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2636, allocations: 10.75 kB / 331.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.2639, allocations: 91.64 kB / 332 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.264, allocations: 98.84 kB / 332.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.2643, allocations: 209.6 kB / 332.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.265, allocations: 494 kB / 332.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.265, allocations: 4 kB / 332.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.265, allocations: 1.219 kB / 332.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.265, allocations: 0 / 332.8 MB, free: 13.23 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.001408/0.2664, allocations: 0.767 MB / 333.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2665, allocations: 9.438 kB / 333.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.2666, allocations: 57.53 kB / 333.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.2671, allocations: 392 kB / 334 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.2672, allocations: 60.56 kB / 334 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.2673, allocations: 42.69 kB / 334.1 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.268, allocations: 426.4 kB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.268, allocations: 3.938 kB / 334.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2681, allocations: 16 kB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.2681, allocations: 20.42 kB / 334.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.2685, allocations: 269.5 kB / 334.8 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.2703, allocations: 1.69 MB / 336.5 MB, free: 9.641 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2709, allocations: 292 kB / 336.8 MB, free: 9.328 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2711, allocations: 138.5 kB / 336.9 MB, free: 9.184 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.424e-05/0.2712, allocations: 11.98 kB / 336.9 MB, free: 9.172 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.2716, allocations: 332.3 kB / 337.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2716, allocations: 4 kB / 337.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009493/0.2726, allocations: 482.6 kB / 337.7 MB, free: 8.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2727, allocations: 170.1 kB / 337.9 MB, free: 8.117 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2733, allocations: 493.2 kB / 338.4 MB, free: 7.629 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.2734, allocations: 41.69 kB / 338.4 MB, free: 7.582 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2735, allocations: 228.6 kB / 338.6 MB, free: 7.355 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.2736, allocations: 90.98 kB / 338.7 MB, free: 7.266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.2737, allocations: 73.67 kB / 338.8 MB, free: 7.188 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2739, allocations: 362.7 kB / 339.2 MB, free: 6.824 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.2741, allocations: 121 kB / 339.3 MB, free: 6.707 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.2744, allocations: 262.7 kB / 339.5 MB, free: 6.387 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.2749, allocations: 418.5 kB / 339.9 MB, free: 5.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.275, allocations: 7.938 kB / 339.9 MB, free: 5.902 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007422/0.2757, allocations: 478.2 kB / 340.4 MB, free: 5.422 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.2758, allocations: 33.7 kB / 340.4 MB, free: 5.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2758, allocations: 4 kB / 340.4 MB, free: 5.379 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2758, allocations: 8.469 kB / 340.5 MB, free: 5.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.276, allocations: 51.84 kB / 340.5 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.276, allocations: 7.938 kB / 340.5 MB, free: 5.312 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2762, allocations: 59.58 kB / 340.6 MB, free: 5.254 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.2763, allocations: 23.98 kB / 340.6 MB, free: 5.23 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.0002647/0.2765, allocations: 252.5 kB / 340.8 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.2766, allocations: 51.42 kB / 340.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.2771, allocations: 265.6 kB / 341.2 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2771, allocations: 4 kB / 341.2 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2771, allocations: 0 / 341.2 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2772, allocations: 4 kB / 341.2 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2782, allocations: 0.7789 MB / 341.9 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2782, allocations: 4 kB / 341.9 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.2783, allocations: 15.92 kB / 342 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2783, allocations: 0 / 342 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.2783, allocations: 15.94 kB / 342 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2783, allocations: 4 kB / 342 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2783, allocations: 4.156 kB / 342 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.279, allocations: 0.5192 MB / 342.5 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.2791, allocations: 112.6 kB / 342.6 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.2792, allocations: 23.92 kB / 342.6 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2794, allocations: 27.98 kB / 342.7 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2796, allocations: 47.92 kB / 342.7 MB, free: 2.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.2796, allocations: 12 kB / 342.7 MB, free: 2.969 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.2799, allocations: 323.1 kB / 343 MB, free: 2.656 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2799, allocations: 0 / 343 MB, free: 2.656 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.2804, allocations: 123.7 kB / 343.2 MB, free: 2.535 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.001048/0.2815, allocations: 452.1 kB / 343.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.2822, allocations: 411.8 kB / 344 MB, free: 1.676 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2822, allocations: 0 / 344 MB, free: 1.676 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.2826, allocations: 243.1 kB / 344.2 MB, free: 1.426 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.2832, allocations: 81.45 kB / 344.3 MB, free: 1.344 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2846, allocations: 0.9285 MB / 345.2 MB, free: 396 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.285, allocations: 0.8475 MB / 346.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.2853, allocations: 79.81 kB / 346.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2854, allocations: 43.42 kB / 346.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2854, allocations: 0 / 346.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Templates: time 0.009951/0.2953, allocations: 5.072 MB / 351.3 MB, free: 10.32 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)