Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01216/0.01216, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009121, allocations: 93.16 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.09534/0.09534, allocations: 13.58 MB / 354.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8.562 kB / 419.1 MB, free: 87.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 53.72 MB / 472.8 MB, free: 34.53 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5332, allocations: 76.99 MB / 0.5369 GB, free: 16.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5335, allocations: 51.47 kB / 0.537 GB, free: 16.59 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.5452, allocations: 4.234 MB / 0.5411 GB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.5453, allocations: 0 / 0.5411 GB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.5453, allocations: 11.25 kB / 0.5411 GB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006672/0.546, allocations: 490.5 kB / 0.5416 GB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.546, allocations: 9.844 kB / 0.5416 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.5461, allocations: 31.25 kB / 0.5416 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.5466, allocations: 282.8 kB / 0.5419 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.5466, allocations: 22.81 kB / 0.5419 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.5467, allocations: 29.59 kB / 0.5419 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.5473, allocations: 349.9 kB / 0.5423 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5473, allocations: 5.062 kB / 0.5423 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.5474, allocations: 13.31 kB / 0.5423 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5474, allocations: 7.812 kB / 0.5423 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.5478, allocations: 203.9 kB / 0.5425 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.5494, allocations: 1.349 MB / 0.5438 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.5498, allocations: 274.2 kB / 0.5441 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.5499, allocations: 86.05 kB / 0.5441 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5499, allocations: 40.28 kB / 0.5442 GB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.5499, allocations: 0 / 0.5442 GB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003837/0.5503, allocations: 156.3 kB / 0.5443 GB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.5503, allocations: 55.28 kB / 0.5444 GB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5506, allocations: 192.7 kB / 0.5446 GB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5506, allocations: 33.14 kB / 0.5446 GB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5507, allocations: 164.9 kB / 0.5448 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.5508, allocations: 40.86 kB / 0.5448 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.5508, allocations: 4.781 kB / 0.5448 GB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.5509, allocations: 330 kB / 0.5451 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.551, allocations: 46.31 kB / 0.5452 GB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5512, allocations: 163 kB / 0.5453 GB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5513, allocations: 65.08 kB / 0.5454 GB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5513, allocations: 1.469 kB / 0.5454 GB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003968/0.5517, allocations: 243.5 kB / 0.5456 GB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5517, allocations: 7.219 kB / 0.5456 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5518, allocations: 3.5 kB / 0.5456 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.5518, allocations: 10.94 kB / 0.5456 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.5519, allocations: 17.03 kB / 0.5456 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5519, allocations: 5.5 kB / 0.5456 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.552, allocations: 9.75 kB / 0.5457 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.5521, allocations: 14.62 kB / 0.5457 GB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.step1.oldActive,step1.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,step1.active,$PRE.step1.newActive,step1.newActive,step1.outport_fire,T1.condition,T1.enableFire,step2.active,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.condition,T2.enableFire,step3.active,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step1.connectorNode.node.resume,step1.connectorNode.node.suspend,step3.outport_fire,step1.inport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0002141/0.5523, allocations: 178 kB / 0.5458 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.5523, allocations: 16.59 kB / 0.5459 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.5526, allocations: 138.6 kB / 0.546 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5526, allocations: 6.516 kB / 0.546 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5527, allocations: 0.6562 kB / 0.546 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5527, allocations: 1.781 kB / 0.546 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.5533, allocations: 0.495 MB / 0.5465 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5533, allocations: 0 / 0.5465 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.5534, allocations: 10.55 kB / 0.5465 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5534, allocations: 5.438 kB / 0.5465 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.5534, allocations: 2.312 kB / 0.5465 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5534, allocations: 0.8906 kB / 0.5465 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5534, allocations: 1.5 kB / 0.5465 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.5537, allocations: 237.5 kB / 0.5467 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.5538, allocations: 98.19 kB / 0.5468 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.5538, allocations: 10.89 kB / 0.5468 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.5539, allocations: 1.75 kB / 0.5468 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.554, allocations: 17.08 kB / 0.5468 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.554, allocations: 4 kB / 0.5469 GB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.5542, allocations: 128.2 kB / 0.547 GB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5542, allocations: 0 / 0.547 GB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.5545, allocations: 38.22 kB / 0.547 GB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (step1.outport_fire,step2.outport_fire,step1.active,step1.newActive,step1.oldActive,T1.condition,T1.enableFire,step2.active,step2.newActive,step2.oldActive,step2.inport_fire,T2.condition,T2.enableFire,step3.active,step3.newActive,step3.oldActive,step3.inport_fire) * Number of discrete states: 3 (step3.newActive,step2.newActive,step1.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0002313/0.5548, allocations: 112.9 kB / 0.5471 GB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.5551, allocations: 142.5 kB / 0.5473 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5552, allocations: 0.9375 kB / 0.5473 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5553, allocations: 45.56 kB / 0.5473 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.5555, allocations: 21.14 kB / 0.5473 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.5564, allocations: 429 kB / 0.5477 GB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.5568, allocations: 0.7642 MB / 0.5485 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.557, allocations: 27.23 kB / 0.5485 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.557, allocations: 18.62 kB / 0.5485 GB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.557, allocations: 5.156 kB / 0.5485 GB, free: 11.03 MB / 362.7 MB Notification: Performance of Templates: time 0.005712/0.5627, allocations: 1.333 MB / 0.5498 GB, free: 10.9 MB / 362.7 MB make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.makefile (rm -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe ; mkfifo Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe ; head -c 1048576 < Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe >> ../files/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.sim & ./Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.pipe 2>&1)