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.001122/0.001122, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 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.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.0006063/0.0006063, allocations: 14.66 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2675, allocations: 47.58 MB / 326.4 MB, free: 1.496 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002555/0.2701, allocations: 2.021 MB / 328.5 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2723, allocations: 1.161 MB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2726, allocations: 13.34 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.2733, allocations: 185.9 kB / 329.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.2737, allocations: 144.5 kB / 330 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.2743, allocations: 223.4 kB / 330.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.2747, allocations: 290.5 kB / 330.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.275, allocations: 156.6 kB / 330.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.2752, allocations: 145 kB / 330.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.2754, allocations: 159.5 kB / 330.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2754, allocations: 10.97 kB / 330.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.2756, allocations: 79.53 kB / 331 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.2758, allocations: 99.25 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2759, allocations: 96.14 kB / 331.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.2764, allocations: 371 kB / 331.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2764, allocations: 4 kB / 331.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2764, allocations: 1 kB / 331.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2764, allocations: 0 / 331.6 MB, free: 13.76 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.001389/0.2778, allocations: 0.7706 MB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2779, allocations: 8.406 kB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.278, allocations: 60.36 kB / 332.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.2785, allocations: 378.8 kB / 332.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.2786, allocations: 61.23 kB / 332.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.2787, allocations: 38.28 kB / 332.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.2794, allocations: 417.7 kB / 333.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2794, allocations: 5.094 kB / 333.3 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.2794, allocations: 21.39 kB / 333.3 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.2795, allocations: 12.16 kB / 333.3 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.28, allocations: 266.7 kB / 333.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2819, allocations: 1.694 MB / 335.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.2825, allocations: 292 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.2826, allocations: 15.94 kB / 335.6 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.283, allocations: 325.4 kB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.283, allocations: 0 / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009584/0.284, allocations: 0.5569 MB / 336.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.2841, allocations: 174.2 kB / 336.6 MB, free: 8.961 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.2847, allocations: 485.3 kB / 337.1 MB, free: 8.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2847, allocations: 41.7 kB / 337.1 MB, free: 8.434 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2849, allocations: 224.6 kB / 337.3 MB, free: 8.211 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.285, allocations: 90.83 kB / 337.4 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.285, allocations: 12 kB / 337.4 MB, free: 8.109 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2852, allocations: 358.8 kB / 337.8 MB, free: 7.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2854, allocations: 113.1 kB / 337.9 MB, free: 7.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.2857, allocations: 270.7 kB / 338.2 MB, free: 7.316 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.286, allocations: 161.6 kB / 338.3 MB, free: 7.152 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.286, allocations: 4 kB / 338.3 MB, free: 7.148 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007594/0.2868, allocations: 482.2 kB / 338.8 MB, free: 6.664 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.2868, allocations: 41.69 kB / 338.8 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2868, allocations: 4 kB / 338.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2869, allocations: 8 kB / 338.8 MB, free: 6.605 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.287, allocations: 47.78 kB / 338.9 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.287, allocations: 4 kB / 338.9 MB, free: 6.555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2873, allocations: 59.98 kB / 339 MB, free: 6.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.2874, allocations: 20 kB / 339 MB, free: 6.477 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.0002807/0.2876, allocations: 252.5 kB / 339.2 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.2877, allocations: 51.39 kB / 339.3 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.2882, allocations: 265.6 kB / 339.5 MB, free: 5.887 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2882, allocations: 4 kB / 339.5 MB, free: 5.883 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2882, allocations: 3.984 kB / 339.5 MB, free: 5.879 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2882, allocations: 0 / 339.5 MB, free: 5.879 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.2894, allocations: 0.7828 MB / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2894, allocations: 3.938 kB / 340.3 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.2894, allocations: 12 kB / 340.3 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2894, allocations: 7.984 kB / 340.3 MB, free: 5.016 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2895, allocations: 8 kB / 340.4 MB, free: 5.008 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2895, allocations: 4 kB / 340.4 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2895, allocations: 3.938 kB / 340.4 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.2902, allocations: 0.534 MB / 340.9 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.2903, allocations: 120.5 kB / 341 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.2904, allocations: 19.98 kB / 341 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2906, allocations: 27.98 kB / 341.1 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.2907, allocations: 39.89 kB / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2907, allocations: 23.98 kB / 341.1 MB, free: 4.184 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.2912, allocations: 315.1 kB / 341.4 MB, free: 3.875 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2912, allocations: 0 / 341.4 MB, free: 3.875 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.2916, allocations: 124 kB / 341.5 MB, free: 3.754 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.001036/0.2927, allocations: 460.1 kB / 342 MB, free: 3.305 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.2934, allocations: 399.8 kB / 342.4 MB, free: 2.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2934, allocations: 192 / 342.4 MB, free: 2.902 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.2937, allocations: 243.1 kB / 342.6 MB, free: 2.652 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.2942, allocations: 73.5 kB / 342.7 MB, free: 2.582 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2956, allocations: 0.8813 MB / 343.6 MB, free: 1.672 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2961, allocations: 0.8553 MB / 344.4 MB, free: 0.793 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.2963, allocations: 75.81 kB / 344.5 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2964, allocations: 43.42 kB / 344.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2964, allocations: 0 / 344.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of Templates: time 0.0105/0.307, allocations: 4.923 MB / 349.5 MB, free: 11.75 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BooleanNetwork1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: