Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01018/0.01018, allocations: 169.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.21/2.21, allocations: 223.3 MB / 239.1 MB, free: 15.92 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 99.61 kB / 290.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1521/0.1521, allocations: 13.58 MB / 355 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007311/0.0007311, allocations: 14.62 kB / 419.3 MB, free: 99.42 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.108, allocations: 53.7 MB / 473 MB, free: 60.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.2299, allocations: 77.24 MB / 0.5373 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.2301, allocations: 47.98 kB / 0.5374 GB, free: 15.54 MB / 378.7 MB [/var/lib/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.03288/0.263, allocations: 8.392 MB / 0.5456 GB, free: 7.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2631, allocations: 0 / 0.5456 GB, free: 7.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.2631, allocations: 20 kB / 0.5456 GB, free: 7.105 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001656/0.2648, allocations: 0.7688 MB / 0.5463 GB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2649, allocations: 12.03 kB / 0.5463 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.2651, allocations: 110.5 kB / 0.5465 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.2653, allocations: 79.16 kB / 0.5465 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.2665, allocations: 437.9 kB / 0.5469 GB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.2666, allocations: 54 kB / 0.547 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2667, allocations: 75.98 kB / 0.5471 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.2687, allocations: 0.8061 MB / 0.5479 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2688, allocations: 0 / 0.5479 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.2689, allocations: 32 kB / 0.5479 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.269, allocations: 25.31 kB / 0.5479 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.2704, allocations: 0.5125 MB / 0.5484 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.2756, allocations: 3.13 MB / 0.5515 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3056/0.5812, allocations: 0.6799 MB / 0.5521 GB, free: 82.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.5815, allocations: 86.53 kB / 0.5522 GB, free: 82.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.582, allocations: 194.7 kB / 0.5524 GB, free: 82.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 4.077e-06/0.582, allocations: 3.812 kB / 0.5524 GB, free: 82.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001142/0.5832, allocations: 413.8 kB / 0.5528 GB, free: 82.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.5833, allocations: 199 kB / 0.553 GB, free: 82.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.5839, allocations: 344.5 kB / 0.5533 GB, free: 82.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.866e-05/0.584, allocations: 49.23 kB / 0.5534 GB, free: 82.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.5842, allocations: 282.5 kB / 0.5536 GB, free: 82.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5843, allocations: 100.6 kB / 0.5537 GB, free: 82.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.5844, allocations: 12.91 kB / 0.5537 GB, free: 82.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5845, allocations: 355.3 kB / 0.5541 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.5849, allocations: 143.1 kB / 0.5542 GB, free: 81.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.5856, allocations: 411.2 kB / 0.5546 GB, free: 81.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.5862, allocations: 195.8 kB / 0.5548 GB, free: 81.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5862, allocations: 2.281 kB / 0.5548 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001635/0.5879, allocations: 0.5795 MB / 0.5554 GB, free: 81.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.588, allocations: 12.08 kB / 0.5554 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.588, allocations: 7.688 kB / 0.5554 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.143e-05/0.5881, allocations: 11.84 kB / 0.5554 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.5883, allocations: 56.05 kB / 0.5554 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/0.5884, allocations: 17.7 kB / 0.5555 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.589, allocations: 40.61 kB / 0.5555 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/0.5891, allocations: 33.48 kB / 0.5555 GB, free: 81.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step1.oldActive,step1.oldActive,initialStep.connectorNode.node.resume,initialStep.connectorNode.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.risingEdge.u,risingEdge.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.fallingEdge.not_u,fallingEdge.not_u,set1.expr[1],set1.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step1.outPort[1].checkOneDelayedTransitionPerLoop,step1.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.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 (93): * Single equations (assignments): 93 * 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.0006109/0.5897, allocations: 280.7 kB / 0.5558 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.5898, allocations: 40.66 kB / 0.5558 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009663/0.5908, allocations: 355.3 kB / 0.5562 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5909, allocations: 6.094 kB / 0.5562 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5909, allocations: 4.75 kB / 0.5562 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5909, allocations: 3.391 kB / 0.5562 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.5934, allocations: 1.008 MB / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5934, allocations: 0 / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.5935, allocations: 13.48 kB / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.5935, allocations: 5.219 kB / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.5936, allocations: 7.516 kB / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.5936, allocations: 6.969 kB / 0.5572 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5936, allocations: 6.406 kB / 0.5572 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000839/0.5944, allocations: 433.7 kB / 0.5576 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.5947, allocations: 134.4 kB / 0.5578 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.5948, allocations: 11.06 kB / 0.5578 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.5952, allocations: 31.47 kB / 0.5578 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.5954, allocations: 51.08 kB / 0.5578 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.5954, allocations: 16.55 kB / 0.5579 GB, free: 80.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003195/0.5958, allocations: 203.5 kB / 0.5581 GB, free: 80.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5958, allocations: 0 / 0.5581 GB, free: 80.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009101/0.5967, allocations: 104.7 kB / 0.5582 GB, free: 80.56 MB / 378.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: 46 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.fire,T5.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,risingEdge.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,fallingEdge.not_u) * Number of discrete states: 8 (step1.newActive,step4.newActive,step3.newActive,fallingEdge.not_u,step2.newActive,initialStep.newActive,risingEdge.u,set1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001239/0.598, allocations: 0.9984 MB / 0.5591 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.5991, allocations: 399.5 kB / 0.5595 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5992, allocations: 5.156 kB / 0.5595 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.5996, allocations: 150.6 kB / 0.5597 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.6001, allocations: 47.72 kB / 0.5597 GB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.6067, allocations: 7.263 MB / 0.5668 GB, free: 73.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.6073, allocations: 0.9013 MB / 0.5677 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.6078, allocations: 78.69 kB / 0.5678 GB, free: 73.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.6082, allocations: 191.2 kB / 0.5679 GB, free: 73.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6082, allocations: 1 kB / 0.5679 GB, free: 73.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.65, allocations: 8.58 MB / 0.5763 GB, free: 70.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.6502, allocations: 190.6 kB / 0.5765 GB, free: 70.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.661, allocations: 0 / 0.5765 GB, free: 70.61 MB / 378.7 MB