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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.00121, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001246/0.001246, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2778/0.2778, allocations: 13.56 MB / 304.6 MB, free: 1.543 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 7.984 kB / 368.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 53.7 MB / 422.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.3111/0.4459, allocations: 1.376 MB / 423.9 MB, free: 41.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.4483, allocations: 0.7351 MB / 424.7 MB, free: 41.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.4486, allocations: 12.72 kB / 424.7 MB, free: 41.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.4489, allocations: 37.45 kB / 424.7 MB, free: 41.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.449, allocations: 18.53 kB / 424.7 MB, free: 41.5 MB / 350.1 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 NFTyping.typeClassSections: time 0.0009906/0.45, allocations: 161.1 kB / 424.9 MB, free: 41.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.4506, allocations: 289 kB / 425.2 MB, free: 41.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.4517, allocations: 0.5321 MB / 425.7 MB, free: 41.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.4519, allocations: 92.19 kB / 425.8 MB, free: 41.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4521, allocations: 82.81 kB / 425.9 MB, free: 41.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.4522, allocations: 8.781 kB / 425.9 MB, free: 41.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4523, allocations: 24.75 kB / 425.9 MB, free: 41.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4524, allocations: 50.23 kB / 426 MB, free: 41.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.4525, allocations: 62.64 kB / 426 MB, free: 41.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.4529, allocations: 193.9 kB / 426.2 MB, free: 41.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4529, allocations: 4 kB / 426.2 MB, free: 41.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4529, allocations: 0 / 426.2 MB, free: 41.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.453, allocations: 3.938 kB / 426.2 MB, free: 41.15 MB / 350.1 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.000728/0.4537, allocations: 489.9 kB / 426.7 MB, free: 40.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4538, allocations: 12.59 kB / 426.7 MB, free: 40.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.4539, allocations: 32.91 kB / 426.7 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.4543, allocations: 266.8 kB / 427 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.4544, allocations: 20.12 kB / 427 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.4544, allocations: 29.53 kB / 427.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.4552, allocations: 336.5 kB / 427.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4552, allocations: 2.906 kB / 427.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.4553, allocations: 11.97 kB / 427.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4553, allocations: 10 kB / 427.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.4558, allocations: 205.6 kB / 427.6 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.4576, allocations: 1.604 MB / 429.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.4579, allocations: 278.5 kB / 429.5 MB, free: 38.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.458, allocations: 48 kB / 429.5 MB, free: 38.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.938e-05/0.4581, allocations: 85.73 kB / 429.6 MB, free: 38.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4582, allocations: 31.12 kB / 429.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.304e-06/0.4582, allocations: 0 / 429.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004445/0.4587, allocations: 162.1 kB / 429.8 MB, free: 38.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.4587, allocations: 64.91 kB / 429.9 MB, free: 38.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.459, allocations: 209.2 kB / 430.1 MB, free: 38.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.459, allocations: 32.67 kB / 430.1 MB, free: 38.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4592, allocations: 164.6 kB / 430.3 MB, free: 38.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.4593, allocations: 42.73 kB / 430.3 MB, free: 38.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.4593, allocations: 4.438 kB / 430.3 MB, free: 38.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4594, allocations: 333.7 kB / 430.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4596, allocations: 49.84 kB / 430.7 MB, free: 38.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4598, allocations: 152.2 kB / 430.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.46, allocations: 64.95 kB / 430.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.46, allocations: 0 / 430.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005649/0.4606, allocations: 239.4 kB / 431.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.4607, allocations: 9.172 kB / 431.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4607, allocations: 2.906 kB / 431.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.4607, allocations: 6.031 kB / 431.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4609, allocations: 16.25 kB / 431.2 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.4609, allocations: 10.59 kB / 431.2 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.4611, allocations: 24.91 kB / 431.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.4611, allocations: 13.59 kB / 431.2 MB, free: 37.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.connectorNode.node.suspend,step1.connectorNode.node.resume,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.inport_fire,step3.outport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[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.0002612/0.4614, allocations: 176.2 kB / 431.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.4615, allocations: 13.81 kB / 431.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.4618, allocations: 139.5 kB / 431.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.4619, allocations: 9.969 kB / 431.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4619, allocations: 0 / 431.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4619, allocations: 4 kB / 431.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.4627, allocations: 0.5037 MB / 432.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4627, allocations: 0 / 432.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.4627, allocations: 3.938 kB / 432.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4628, allocations: 2.906 kB / 432.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4628, allocations: 6.594 kB / 432.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.4628, allocations: 3.938 kB / 432.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4628, allocations: 0 / 432.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4631, allocations: 231.1 kB / 432.3 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.4632, allocations: 100.4 kB / 432.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.4632, allocations: 7.938 kB / 432.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.4634, allocations: 6.094 kB / 432.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.4635, allocations: 12.3 kB / 432.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4635, allocations: 9.281 kB / 432.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.4636, allocations: 126.7 kB / 432.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4636, allocations: 0 / 432.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.4642, allocations: 56.91 kB / 432.6 MB, free: 37.05 MB / 350.1 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.0002104/0.4644, allocations: 126.2 kB / 432.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4648, allocations: 139 kB / 432.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4648, allocations: 0.8125 kB / 432.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4649, allocations: 46.22 kB / 432.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4654, allocations: 25.66 kB / 432.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4667, allocations: 455.9 kB / 433.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.4671, allocations: 0.7572 MB / 434.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.4673, allocations: 40.3 kB / 434.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.4674, allocations: 20.36 kB / 434.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4674, allocations: 0 / 434.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of Templates: time 0.007688/0.4751, allocations: 1.372 MB / 435.6 MB, free: 35.84 MB / 350.1 MB make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: