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.001256/0.001261, allocations: 99.55 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.001529/0.00153, 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.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0006926/0.0006926, allocations: 18.66 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3081, allocations: 47.58 MB / 326.4 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.00283/0.311, allocations: 2.024 MB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3133, allocations: 1.155 MB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.3135, allocations: 13.12 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.3142, allocations: 189.5 kB / 329.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3145, allocations: 140.9 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.3152, allocations: 223.5 kB / 330.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.3156, allocations: 289.5 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.3159, allocations: 162.7 kB / 330.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3161, allocations: 139.9 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3163, allocations: 167.2 kB / 330.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.3164, allocations: 10.75 kB / 330.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.3165, allocations: 68.44 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3167, allocations: 97.88 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.3168, allocations: 92.95 kB / 331.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.3172, allocations: 383.3 kB / 331.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3172, allocations: 4 kB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3172, allocations: 0 / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3172, allocations: 0.9688 kB / 331.5 MB, free: 13.71 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.001282/0.3185, allocations: 0.766 MB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3186, allocations: 9.188 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.3187, allocations: 56.53 kB / 332.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3192, allocations: 378 kB / 332.7 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.3192, allocations: 61.42 kB / 332.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.3193, allocations: 42.64 kB / 332.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.32, allocations: 421.3 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.32, allocations: 5.125 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.3201, allocations: 21.3 kB / 333.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.3201, allocations: 12.16 kB / 333.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3206, allocations: 266.5 kB / 333.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3224, allocations: 1.689 MB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.323, allocations: 292 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.323, allocations: 20.14 kB / 335.6 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.3235, allocations: 329.2 kB / 335.9 MB, free: 9.738 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.893e-06/0.3235, allocations: 0 / 335.9 MB, free: 9.738 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009558/0.3245, allocations: 0.553 MB / 336.4 MB, free: 9.156 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.3246, allocations: 170.2 kB / 336.6 MB, free: 8.953 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.3251, allocations: 485.3 kB / 337.1 MB, free: 8.473 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3251, allocations: 41.7 kB / 337.1 MB, free: 8.426 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3253, allocations: 232.6 kB / 337.3 MB, free: 8.195 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.3254, allocations: 90.83 kB / 337.4 MB, free: 8.105 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.3254, allocations: 12 kB / 337.4 MB, free: 8.094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3255, allocations: 354.8 kB / 337.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3258, allocations: 109.1 kB / 337.9 MB, free: 7.633 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.3261, allocations: 274.6 kB / 338.2 MB, free: 7.305 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3263, allocations: 165.6 kB / 338.3 MB, free: 7.137 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3264, allocations: 0 / 338.3 MB, free: 7.137 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007008/0.3271, allocations: 482.5 kB / 338.8 MB, free: 6.652 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.3271, allocations: 37.69 kB / 338.8 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3271, allocations: 4 kB / 338.8 MB, free: 6.605 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3272, allocations: 8.062 kB / 338.8 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3273, allocations: 47.86 kB / 338.9 MB, free: 6.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3273, allocations: 8 kB / 338.9 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3276, allocations: 59.97 kB / 339 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.3276, allocations: 20 kB / 339 MB, free: 6.465 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.0002717/0.3279, allocations: 256.5 kB / 339.2 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.328, allocations: 51.39 kB / 339.3 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.3284, allocations: 261.3 kB / 339.5 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3285, allocations: 4 kB / 339.5 MB, free: 5.871 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3285, allocations: 0 / 339.5 MB, free: 5.871 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3285, allocations: 7.984 kB / 339.5 MB, free: 5.863 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.3295, allocations: 0.7789 MB / 340.3 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3295, allocations: 0 / 340.3 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.3296, allocations: 23.92 kB / 340.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3296, allocations: 0 / 340.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.3296, allocations: 15.98 kB / 340.4 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3296, allocations: 3.938 kB / 340.4 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3296, allocations: 0 / 340.4 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.3303, allocations: 0.5301 MB / 340.9 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.3304, allocations: 128.5 kB / 341 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.3305, allocations: 8 kB / 341 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3307, allocations: 35.97 kB / 341.1 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3308, allocations: 43.89 kB / 341.1 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.3309, allocations: 16 kB / 341.1 MB, free: 4.172 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.3312, allocations: 323.1 kB / 341.4 MB, free: 3.855 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3312, allocations: 0 / 341.4 MB, free: 3.855 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.3317, allocations: 116 kB / 341.5 MB, free: 3.742 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.001029/0.3327, allocations: 460.1 kB / 342 MB, free: 3.293 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.3333, allocations: 396 kB / 342.4 MB, free: 2.895 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3334, allocations: 0 / 342.4 MB, free: 2.895 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.3337, allocations: 251 kB / 342.6 MB, free: 2.637 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3341, allocations: 69.52 kB / 342.7 MB, free: 2.57 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3355, allocations: 0.8891 MB / 343.6 MB, free: 1.652 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3359, allocations: 0.8475 MB / 344.4 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.3361, allocations: 79.81 kB / 344.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.3362, allocations: 39.44 kB / 344.5 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3362, allocations: 4 kB / 344.6 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of Templates: time 0.009639/0.3458, allocations: 4.934 MB / 349.5 MB, free: 11.72 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: