Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001292/0.001292, allocations: 94.78 kB / 16.3 MB, free: 5.996 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.001538/0.001539, allocations: 184.6 kB / 17.2 MB, free: 5.914 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.423/1.423, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0004375/0.0004375, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002671/0.2253, allocations: 2.03 MB / 329.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2275, allocations: 1.157 MB / 330.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.2277, allocations: 13.72 kB / 330.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.2284, allocations: 188.1 kB / 331.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.2288, allocations: 142 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.2297, allocations: 215.4 kB / 331.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.2303, allocations: 290.2 kB / 331.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.2307, allocations: 157 kB / 331.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.231, allocations: 144.2 kB / 332 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2312, allocations: 163.6 kB / 332.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.2313, allocations: 11.41 kB / 332.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.2315, allocations: 71.55 kB / 332.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2317, allocations: 94.36 kB / 332.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2318, allocations: 96.09 kB / 332.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2323, allocations: 384.1 kB / 332.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2323, allocations: 4 kB / 332.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2323, allocations: 0 / 332.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2323, allocations: 0.8438 kB / 332.8 MB, free: 13.68 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.001405/0.2337, allocations: 0.7665 MB / 333.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2338, allocations: 8.281 kB / 333.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2339, allocations: 55.91 kB / 333.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.2344, allocations: 384 kB / 334 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.2345, allocations: 60.25 kB / 334.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.2346, allocations: 38.72 kB / 334.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.2353, allocations: 417.8 kB / 334.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2353, allocations: 1.062 kB / 334.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.2353, allocations: 25.05 kB / 334.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.2354, allocations: 15.95 kB / 334.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2359, allocations: 262.9 kB / 334.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2379, allocations: 1.69 MB / 336.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.2385, allocations: 299.9 kB / 336.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.2385, allocations: 12.22 kB / 336.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.239, allocations: 325.2 kB / 337.1 MB, free: 9.754 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.239, allocations: 0 / 337.1 MB, free: 9.754 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009911/0.24, allocations: 0.5569 MB / 337.7 MB, free: 9.168 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.2401, allocations: 174.2 kB / 337.9 MB, free: 8.961 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.2406, allocations: 481.3 kB / 338.3 MB, free: 8.484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.2407, allocations: 45.69 kB / 338.4 MB, free: 8.434 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2408, allocations: 224.6 kB / 338.6 MB, free: 8.211 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.2409, allocations: 90.83 kB / 338.7 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.241, allocations: 12 kB / 338.7 MB, free: 8.109 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2411, allocations: 354.8 kB / 339 MB, free: 7.754 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2413, allocations: 117 kB / 339.1 MB, free: 7.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2417, allocations: 266.7 kB / 339.4 MB, free: 7.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.242, allocations: 165.6 kB / 339.6 MB, free: 7.152 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.242, allocations: 4 kB / 339.6 MB, free: 7.148 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000712/0.2427, allocations: 482.2 kB / 340 MB, free: 6.664 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.2428, allocations: 37.69 kB / 340.1 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2428, allocations: 4 kB / 340.1 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2428, allocations: 8 kB / 340.1 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.243, allocations: 43.86 kB / 340.1 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.243, allocations: 7.984 kB / 340.1 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2432, allocations: 63.92 kB / 340.2 MB, free: 6.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.2433, allocations: 20 kB / 340.2 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.0002902/0.2436, allocations: 252.5 kB / 340.5 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2437, allocations: 51.39 kB / 340.5 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.2441, allocations: 265.6 kB / 340.8 MB, free: 5.887 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2442, allocations: 4 kB / 340.8 MB, free: 5.883 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2442, allocations: 0 / 340.8 MB, free: 5.883 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2442, allocations: 3.984 kB / 340.8 MB, free: 5.879 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2452, allocations: 0.7867 MB / 341.6 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2453, allocations: 0 / 341.6 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.2453, allocations: 8 kB / 341.6 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2453, allocations: 4 kB / 341.6 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.2454, allocations: 11.98 kB / 341.6 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2454, allocations: 8.094 kB / 341.6 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2454, allocations: 0 / 341.6 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.2461, allocations: 0.5301 MB / 342.1 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2462, allocations: 128.5 kB / 342.3 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.2463, allocations: 12 kB / 342.3 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2465, allocations: 35.97 kB / 342.3 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2467, allocations: 43.89 kB / 342.4 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.2467, allocations: 19.98 kB / 342.4 MB, free: 4.184 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.2471, allocations: 319.1 kB / 342.7 MB, free: 3.871 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.218e-06/0.2471, allocations: 0 / 342.7 MB, free: 3.871 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.2477, allocations: 120 kB / 342.8 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.001054/0.2487, allocations: 460.2 kB / 343.3 MB, free: 3.305 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.2495, allocations: 392 kB / 343.6 MB, free: 2.91 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2495, allocations: 0 / 343.6 MB, free: 2.91 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2498, allocations: 251 kB / 343.9 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.0004488/0.2503, allocations: 73.45 kB / 344 MB, free: 2.582 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2517, allocations: 0.8852 MB / 344.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2521, allocations: 0.8553 MB / 345.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.2523, allocations: 71.83 kB / 345.8 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2524, allocations: 43.42 kB / 345.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2524, allocations: 0 / 345.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of Templates: time 0.009816/0.2623, allocations: 4.938 MB / 350.7 MB, free: 11.73 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) Environment - environmentSimulation: