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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00133/0.00133, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.198/1.198, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001582/0.001582, allocations: 120.8 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 16 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07174, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.2952, allocations: 75.18 MB / 430.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2955, allocations: 66.5 kB / 430.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.3074, allocations: 5.006 MB / 435.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3075, allocations: 0 / 435.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3075, allocations: 12 kB / 435.3 MB, free: 10.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000758/0.3083, allocations: 0.6803 MB / 436 MB, free: 9.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3083, allocations: 12.03 kB / 436 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.3084, allocations: 44.56 kB / 436.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.3087, allocations: 293.6 kB / 436.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.3088, allocations: 60.22 kB / 436.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3088, allocations: 38.31 kB / 436.4 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3094, allocations: 403.9 kB / 436.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3094, allocations: 0 / 436.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3094, allocations: 18.48 kB / 436.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.3095, allocations: 12.44 kB / 436.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.3098, allocations: 251.7 kB / 437.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3113, allocations: 1.562 MB / 438.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.3117, allocations: 283.3 kB / 438.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.3118, allocations: 16.12 kB / 439 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.3121, allocations: 348.3 kB / 439.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.3121, allocations: 0 / 439.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007425/0.3129, allocations: 0.6705 MB / 440 MB, free: 5.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.313, allocations: 195.4 kB / 440.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3132, allocations: 266.7 kB / 440.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.3132, allocations: 41.52 kB / 440.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.3133, allocations: 185.6 kB / 440.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.3134, allocations: 80.22 kB / 440.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.3134, allocations: 10.31 kB / 440.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.3135, allocations: 345.2 kB / 441.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3136, allocations: 116.5 kB / 441.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3139, allocations: 242.7 kB / 441.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.3141, allocations: 218.8 kB / 441.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3141, allocations: 4 kB / 441.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005611/0.3147, allocations: 0.5252 MB / 442.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.3147, allocations: 92.72 kB / 442.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3147, allocations: 4.438 kB / 442.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3147, allocations: 13.08 kB / 442.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.3148, allocations: 35.06 kB / 442.3 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3149, allocations: 12.48 kB / 442.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.315, allocations: 34.02 kB / 442.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3151, allocations: 23.94 kB / 442.4 MB, free: 3.539 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0001728/0.3153, allocations: 257.9 kB / 442.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.3153, allocations: 35.61 kB / 442.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.3157, allocations: 244.2 kB / 442.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3157, allocations: 5.125 kB / 442.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3157, allocations: 7.953 kB / 442.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3157, allocations: 7.984 kB / 442.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.3167, allocations: 0.9905 MB / 443.9 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3167, allocations: 7.891 kB / 443.9 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.3167, allocations: 19.3 kB / 443.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3168, allocations: 0 / 443.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.3168, allocations: 18.38 kB / 444 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3168, allocations: 4 kB / 444 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3168, allocations: 0 / 444 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.3173, allocations: 0.6482 MB / 444.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.3174, allocations: 100.7 kB / 444.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.3174, allocations: 13.94 kB / 444.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3176, allocations: 27.53 kB / 444.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.3177, allocations: 37.69 kB / 444.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3178, allocations: 17.88 kB / 444.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.3179, allocations: 183.8 kB / 445 MB, free: 1.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3179, allocations: 0 / 445 MB, free: 1.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004309/0.3183, allocations: 95.88 kB / 445.1 MB, free: 1.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,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: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * 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.0002081/0.3185, allocations: 171.3 kB / 445.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3191, allocations: 0.5034 MB / 445.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3191, allocations: 0 / 445.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.3193, allocations: 302.9 kB / 446 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.3197, allocations: 46.16 kB / 446.1 MB, free: 208 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.3206, allocations: 0.6934 MB / 446.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.321, allocations: 0.8028 MB / 447.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3211, allocations: 60.8 kB / 447.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.3212, allocations: 27.44 kB / 447.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3212, allocations: 0 / 447.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Templates: time 0.006662/0.3279, allocations: 3.532 MB / 451.2 MB, free: 11.19 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.makefile (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)