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.00144/0.00144, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001038/0.001038, allocations: 90.75 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.08132/0.08132, allocations: 13.58 MB / 344.8 MB, free: 1.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.434e-05, allocations: 1.531 kB / 404.7 MB, free: 45.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 53.73 MB / 458.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4602, allocations: 76.26 MB / 0.5222 GB, free: 23.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000102/0.4603, allocations: 48.58 kB / 0.5222 GB, free: 23.09 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.01007/0.4704, allocations: 4.162 MB / 0.5263 GB, free: 22.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.4704, allocations: 0 / 0.5263 GB, free: 22.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.4705, allocations: 12.53 kB / 0.5263 GB, free: 22.51 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.0006013/0.4711, allocations: 472.1 kB / 0.5268 GB, free: 22.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4711, allocations: 9.062 kB / 0.5268 GB, free: 22.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4712, allocations: 40.58 kB / 0.5268 GB, free: 22.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4716, allocations: 270.8 kB / 0.5271 GB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.4717, allocations: 16.84 kB / 0.5271 GB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.4717, allocations: 21.56 kB / 0.5271 GB, free: 21.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003809/0.4721, allocations: 172.4 kB / 0.5273 GB, free: 21.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.4726, allocations: 305.8 kB / 0.5276 GB, free: 21.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4726, allocations: 4 kB / 0.5276 GB, free: 21.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.4726, allocations: 2.953 kB / 0.5276 GB, free: 21.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4727, allocations: 7.781 kB / 0.5276 GB, free: 21.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.474, allocations: 1.269 MB / 0.5288 GB, free: 20.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.4742, allocations: 262.4 kB / 0.5291 GB, free: 20.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.4743, allocations: 42.95 kB / 0.5291 GB, free: 20.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.4744, allocations: 81.33 kB / 0.5292 GB, free: 20.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4744, allocations: 44.25 kB / 0.5292 GB, free: 20.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.4744, allocations: 0.7812 kB / 0.5292 GB, free: 20.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002829/0.4747, allocations: 111.1 kB / 0.5293 GB, free: 20.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.4747, allocations: 59.2 kB / 0.5294 GB, free: 20.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.4749, allocations: 175.9 kB / 0.5296 GB, free: 20.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4749, allocations: 27.73 kB / 0.5296 GB, free: 20.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.475, allocations: 166.8 kB / 0.5297 GB, free: 20.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.4751, allocations: 35.3 kB / 0.5298 GB, free: 20.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.4751, allocations: 1.375 kB / 0.5298 GB, free: 20.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.4751, allocations: 333.3 kB / 0.5301 GB, free: 19.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.4752, allocations: 44.55 kB / 0.5301 GB, free: 19.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4753, allocations: 153.2 kB / 0.5303 GB, free: 19.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4755, allocations: 62.28 kB / 0.5303 GB, free: 19.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4755, allocations: 1.125 kB / 0.5303 GB, free: 19.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003469/0.4758, allocations: 202.2 kB / 0.5305 GB, free: 19.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4759, allocations: 6.25 kB / 0.5305 GB, free: 19.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4759, allocations: 4.75 kB / 0.5305 GB, free: 19.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.4759, allocations: 9.734 kB / 0.5306 GB, free: 19.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.476, allocations: 21.02 kB / 0.5306 GB, free: 19.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.476, allocations: 11.33 kB / 0.5306 GB, free: 19.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4761, allocations: 2.719 kB / 0.5306 GB, free: 19.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.4762, allocations: 12.31 kB / 0.5306 GB, free: 19.56 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 () * 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 8.895e-05/0.4763, allocations: 134.4 kB / 0.5307 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4763, allocations: 20.7 kB / 0.5308 GB, free: 19.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.4766, allocations: 127.1 kB / 0.5309 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4766, allocations: 10.08 kB / 0.5309 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4766, allocations: 0.6094 kB / 0.5309 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4766, allocations: 1.766 kB / 0.5309 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.4771, allocations: 430.6 kB / 0.5313 GB, free: 19.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4771, allocations: 6.172 kB / 0.5313 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.4772, allocations: 1.906 kB / 0.5313 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4772, allocations: 1.094 kB / 0.5313 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4772, allocations: 6.516 kB / 0.5313 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4772, allocations: 5.031 kB / 0.5313 GB, free: 19.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4772, allocations: 3.938 kB / 0.5313 GB, free: 19.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.4774, allocations: 216 kB / 0.5315 GB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.4775, allocations: 98.22 kB / 0.5316 GB, free: 18.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4775, allocations: 5.719 kB / 0.5316 GB, free: 18.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.4776, allocations: 6.984 kB / 0.5316 GB, free: 18.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.4777, allocations: 11.3 kB / 0.5316 GB, free: 18.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4777, allocations: 8.938 kB / 0.5316 GB, free: 18.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.4778, allocations: 124.4 kB / 0.5318 GB, free: 18.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4778, allocations: 0 / 0.5318 GB, free: 18.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.4781, allocations: 31.67 kB / 0.5318 GB, free: 18.76 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) * 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.0001515/0.4783, allocations: 105.9 kB / 0.5319 GB, free: 18.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.4786, allocations: 123.5 kB / 0.532 GB, free: 18.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4786, allocations: 0 / 0.532 GB, free: 18.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.4787, allocations: 49.34 kB / 0.5321 GB, free: 18.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.4789, allocations: 18.69 kB / 0.5321 GB, free: 18.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.4794, allocations: 249.9 kB / 0.5323 GB, free: 18.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.4803, allocations: 0.7641 MB / 0.5331 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.4804, allocations: 31.17 kB / 0.5331 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.4804, allocations: 18.92 kB / 0.5331 GB, free: 33.81 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4804, allocations: 0 / 0.5331 GB, free: 33.81 MB / 378.7 MB Notification: Performance of Templates: time 0.004815/0.4853, allocations: 1.273 MB / 0.5344 GB, free: 33.68 MB / 378.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)