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.0009578/0.0009581, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001079/0.001079, allocations: 168.7 kB / 15.95 MB, free: 204 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.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004391/0.0004392, allocations: 10.66 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002507/0.2172, allocations: 2.032 MB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.2192, allocations: 1.176 MB / 329.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.2194, allocations: 10.06 kB / 329.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006197/0.22, allocations: 205.8 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2204, allocations: 137.4 kB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.221, allocations: 219.9 kB / 330.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.2214, allocations: 428 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.2217, allocations: 158.6 kB / 330.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2219, allocations: 137.3 kB / 330.9 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.2221, allocations: 171.6 kB / 331.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.2222, allocations: 10.38 kB / 331.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.2223, allocations: 85.75 kB / 331.2 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2225, allocations: 99.73 kB / 331.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.2226, allocations: 96.45 kB / 331.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.223, allocations: 375.8 kB / 331.8 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.223, allocations: 0 / 331.8 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.223, allocations: 0 / 331.8 MB, free: 13.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.223, allocations: 1.062 kB / 331.8 MB, free: 13.54 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.001159/0.2242, allocations: 0.7699 MB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2242, allocations: 12.8 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2243, allocations: 56.31 kB / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.2248, allocations: 382.7 kB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.2249, allocations: 56.42 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.225, allocations: 39.53 kB / 333.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.2256, allocations: 424.7 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2256, allocations: 0 / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2257, allocations: 21.55 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2257, allocations: 16.22 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.2262, allocations: 266.3 kB / 333.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.2282, allocations: 1.696 MB / 335.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.2289, allocations: 295.9 kB / 335.8 MB, free: 9.953 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.2291, allocations: 126.5 kB / 335.9 MB, free: 9.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.2292, allocations: 11.98 kB / 335.9 MB, free: 9.809 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.2297, allocations: 333.2 kB / 336.2 MB, free: 9.445 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.2297, allocations: 0 / 336.2 MB, free: 9.445 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.000952/0.2307, allocations: 488.9 kB / 336.7 MB, free: 8.957 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.2308, allocations: 166.2 kB / 336.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.2313, allocations: 489.2 kB / 337.3 MB, free: 8.273 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.2314, allocations: 41.7 kB / 337.4 MB, free: 8.227 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.2315, allocations: 228.6 kB / 337.6 MB, free: 8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.2316, allocations: 86.94 kB / 337.7 MB, free: 7.914 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.2316, allocations: 12 kB / 337.7 MB, free: 7.902 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2318, allocations: 358.8 kB / 338.1 MB, free: 7.543 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.232, allocations: 109.1 kB / 338.2 MB, free: 7.438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.2323, allocations: 266.7 kB / 338.4 MB, free: 7.117 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.2326, allocations: 169.6 kB / 338.6 MB, free: 6.945 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2326, allocations: 0 / 338.6 MB, free: 6.945 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008002/0.2334, allocations: 482.8 kB / 339.1 MB, free: 6.461 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.2335, allocations: 41.73 kB / 339.1 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2335, allocations: 4 kB / 339.1 MB, free: 6.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2335, allocations: 11.88 kB / 339.1 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2337, allocations: 47.84 kB / 339.2 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2337, allocations: 8 kB / 339.2 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2339, allocations: 55.66 kB / 339.2 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.234, allocations: 24 kB / 339.2 MB, free: 6.266 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.0002591/0.2342, allocations: 248.6 kB / 339.5 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.2343, allocations: 51.38 kB / 339.5 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.2348, allocations: 269.4 kB / 339.8 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2348, allocations: 8 kB / 339.8 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2348, allocations: 4 kB / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2348, allocations: 0 / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.2358, allocations: 0.775 MB / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2359, allocations: 0 / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.2359, allocations: 19.92 kB / 340.6 MB, free: 4.812 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2359, allocations: 4 kB / 340.6 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.236, allocations: 12 kB / 340.6 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.236, allocations: 3.984 kB / 340.6 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.236, allocations: 4 kB / 340.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.2367, allocations: 0.4995 MB / 341.1 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2368, allocations: 132.5 kB / 341.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.2369, allocations: 8 kB / 341.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2371, allocations: 31.97 kB / 341.3 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2372, allocations: 43.88 kB / 341.3 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.2372, allocations: 15.98 kB / 341.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003272/0.2376, allocations: 323.1 kB / 341.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2376, allocations: 4 kB / 341.7 MB, free: 3.699 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.2381, allocations: 119.9 kB / 341.8 MB, free: 3.582 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.001015/0.2391, allocations: 451.9 kB / 342.2 MB, free: 3.141 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.2397, allocations: 399.3 kB / 342.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2398, allocations: 3.938 kB / 342.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.2401, allocations: 247.1 kB / 342.9 MB, free: 2.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.2406, allocations: 90.36 kB / 343 MB, free: 2.395 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.242, allocations: 0.8776 MB / 343.8 MB, free: 1.488 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.2424, allocations: 0.8436 MB / 344.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.2426, allocations: 79.52 kB / 344.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2427, allocations: 43.42 kB / 344.8 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2427, allocations: 0 / 344.8 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of Templates: time 0.01008/0.2528, allocations: 4.934 MB / 349.7 MB, free: 11.56 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)