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.000988/0.000988, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.253/1.253, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 96.98 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.08109/0.08109, allocations: 13.58 MB / 350.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.471e-05, allocations: 7.984 kB / 411.6 MB, free: 55.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09599, allocations: 53.71 MB / 465.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4374, allocations: 76.94 MB / 0.5296 GB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001214/0.4376, allocations: 46.23 kB / 0.5296 GB, free: 3.766 MB / 346.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.01091/0.4485, allocations: 4.205 MB / 0.5337 GB, free: 196 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4486, allocations: 0 / 0.5337 GB, free: 196 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.4486, allocations: 12 kB / 0.5337 GB, free: 184 kB / 346.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.0005993/0.4492, allocations: 467.9 kB / 0.5342 GB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4493, allocations: 12.03 kB / 0.5342 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.4494, allocations: 31.62 kB / 0.5342 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4498, allocations: 289 kB / 0.5345 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.4499, allocations: 19.41 kB / 0.5345 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.4499, allocations: 25.25 kB / 0.5345 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.4506, allocations: 353.5 kB / 0.5349 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4506, allocations: 0 / 0.5349 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.4507, allocations: 15.19 kB / 0.5349 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4507, allocations: 4 kB / 0.5349 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.4511, allocations: 202.1 kB / 0.5351 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4525, allocations: 1.329 MB / 0.5364 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4528, allocations: 270.8 kB / 0.5366 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.4529, allocations: 51.47 kB / 0.5367 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.453, allocations: 84.67 kB / 0.5368 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.453, allocations: 34.52 kB / 0.5368 GB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.794e-06/0.453, allocations: 0 / 0.5368 GB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002687/0.4533, allocations: 127.6 kB / 0.5369 GB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4533, allocations: 55.41 kB / 0.537 GB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.4535, allocations: 199 kB / 0.5372 GB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4536, allocations: 33.39 kB / 0.5372 GB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4537, allocations: 158.6 kB / 0.5373 GB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4537, allocations: 42.47 kB / 0.5374 GB, free: 12.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.4537, allocations: 3.562 kB / 0.5374 GB, free: 12.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4539, allocations: 329.7 kB / 0.5377 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.4539, allocations: 46.11 kB / 0.5377 GB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4542, allocations: 159.8 kB / 0.5379 GB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.4543, allocations: 60 kB / 0.538 GB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4543, allocations: 7.938 kB / 0.538 GB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003301/0.4546, allocations: 240 kB / 0.5382 GB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4547, allocations: 4 kB / 0.5382 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4547, allocations: 11.89 kB / 0.5382 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4547, allocations: 8.469 kB / 0.5382 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.4548, allocations: 15.92 kB / 0.5382 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4548, allocations: 8 kB / 0.5382 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.4549, allocations: 14.25 kB / 0.5383 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.455, allocations: 19.05 kB / 0.5383 GB, free: 11.74 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 0.0001089/0.4551, allocations: 133.5 kB / 0.5384 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.4551, allocations: 15.81 kB / 0.5384 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.4554, allocations: 142.3 kB / 0.5385 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4554, allocations: 4 kB / 0.5386 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4554, allocations: 0 / 0.5386 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4554, allocations: 0 / 0.5386 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.456, allocations: 0.495 MB / 0.539 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.456, allocations: 3.953 kB / 0.539 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.456, allocations: 4 kB / 0.539 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.456, allocations: 4 kB / 0.539 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4561, allocations: 3.984 kB / 0.539 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4561, allocations: 0 / 0.539 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4561, allocations: 7.938 kB / 0.5391 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4563, allocations: 229.3 kB / 0.5393 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.4564, allocations: 100.9 kB / 0.5394 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4564, allocations: 4 kB / 0.5394 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.4565, allocations: 4 kB / 0.5394 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.4566, allocations: 15.97 kB / 0.5394 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4566, allocations: 8 kB / 0.5394 GB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.4567, allocations: 125.2 kB / 0.5395 GB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4567, allocations: 0 / 0.5395 GB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.457, allocations: 43.98 kB / 0.5396 GB, free: 10.42 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.0001907/0.4572, allocations: 112 kB / 0.5397 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4574, allocations: 140.4 kB / 0.5398 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4574, allocations: 4 kB / 0.5398 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.4575, allocations: 47.94 kB / 0.5399 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.4577, allocations: 25.83 kB / 0.5399 GB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.4583, allocations: 258.9 kB / 0.5401 GB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.4586, allocations: 0.7639 MB / 0.5409 GB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.915e-05/0.4587, allocations: 22.06 kB / 0.5409 GB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.4588, allocations: 19.44 kB / 0.5409 GB, free: 8.984 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4588, allocations: 3.938 kB / 0.5409 GB, free: 8.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004249/0.463, allocations: 1.338 MB / 0.5422 GB, free: 7.648 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)