Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.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.Sequence,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Sequence",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.01429/0.01429, allocations: 168.9 kB / 15.12 MB, free: 6.031 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.35/2.35, allocations: 223.3 MB / 239.1 MB, free: 1.734 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 97.66 kB / 290.3 MB, free: 13.9 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.1188/0.1188, allocations: 13.57 MB / 355 MB, free: 13.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006881/0.0006883, allocations: 12.7 kB / 419.2 MB, free: 87.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1267, allocations: 53.71 MB / 472.9 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.001941/0.1287, allocations: 1.383 MB / 474.3 MB, free: 33.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1303, allocations: 0.7364 MB / 475.1 MB, free: 32.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1305, allocations: 7.938 kB / 475.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1306, allocations: 31.73 kB / 475.1 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.1307, allocations: 23.84 kB / 475.1 MB, free: 32.21 MB / 330.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 NFTyping.typeClassSections: time 0.0007094/0.1315, allocations: 155.8 kB / 475.3 MB, free: 32.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.1319, allocations: 295.3 kB / 475.6 MB, free: 31.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.1327, allocations: 0.5257 MB / 476.1 MB, free: 31.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1329, allocations: 91.52 kB / 476.2 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.133, allocations: 87.47 kB / 476.3 MB, free: 31.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.133, allocations: 12 kB / 476.3 MB, free: 31.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1332, allocations: 24 kB / 476.3 MB, free: 31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1332, allocations: 51.83 kB / 476.4 MB, free: 30.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.1333, allocations: 65.52 kB / 476.4 MB, free: 30.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1336, allocations: 195.6 kB / 476.6 MB, free: 30.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1336, allocations: 0 / 476.6 MB, free: 30.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1337, allocations: 0 / 476.6 MB, free: 30.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1337, allocations: 0 / 476.6 MB, free: 30.69 MB / 330.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.0006158/0.1343, allocations: 493.2 kB / 477.1 MB, free: 30.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1343, allocations: 8.031 kB / 477.1 MB, free: 30.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.1344, allocations: 70.47 kB / 477.2 MB, free: 30.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.1345, allocations: 31.62 kB / 477.2 MB, free: 30.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1349, allocations: 266.5 kB / 477.5 MB, free: 29.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.1349, allocations: 24.66 kB / 477.5 MB, free: 29.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.135, allocations: 28 kB / 477.5 MB, free: 29.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.1357, allocations: 340.2 kB / 477.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1357, allocations: 0 / 477.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.1357, allocations: 16 kB / 477.9 MB, free: 29.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1358, allocations: 8 kB / 477.9 MB, free: 29.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.1363, allocations: 198.1 kB / 478.1 MB, free: 29.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.138, allocations: 1.602 MB / 479.7 MB, free: 27.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1383, allocations: 277 kB / 479.9 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.1384, allocations: 48.84 kB / 480 MB, free: 26.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.1385, allocations: 85.09 kB / 480.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1386, allocations: 34.56 kB / 480.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.565e-06/0.1386, allocations: 0 / 480.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003923/0.139, allocations: 159.1 kB / 480.3 MB, free: 26.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.139, allocations: 51.41 kB / 480.3 MB, free: 26.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1392, allocations: 218.8 kB / 480.5 MB, free: 26.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1393, allocations: 33.7 kB / 480.6 MB, free: 26.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.1394, allocations: 160.4 kB / 480.7 MB, free: 26.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1394, allocations: 47.47 kB / 480.8 MB, free: 26.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.1394, allocations: 8 kB / 480.8 MB, free: 26.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.1395, allocations: 334.7 kB / 481.1 MB, free: 25.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1396, allocations: 47.97 kB / 481.1 MB, free: 25.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1398, allocations: 147.8 kB / 481.3 MB, free: 25.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.14, allocations: 67.94 kB / 481.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.14, allocations: 0 / 481.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004359/0.1404, allocations: 239.3 kB / 481.6 MB, free: 25.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1405, allocations: 4 kB / 481.6 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1405, allocations: 4.406 kB / 481.6 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1405, allocations: 12 kB / 481.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1406, allocations: 19.86 kB / 481.6 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1406, allocations: 4 kB / 481.6 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1408, allocations: 19.84 kB / 481.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.1408, allocations: 19.98 kB / 481.7 MB, free: 25.18 MB / 330.7 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.000208/0.1411, allocations: 177.6 kB / 481.8 MB, free: 24.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.1411, allocations: 19.81 kB / 481.9 MB, free: 24.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.1414, allocations: 143.4 kB / 482 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1415, allocations: 0 / 482 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1415, allocations: 0 / 482 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1415, allocations: 0 / 482 MB, free: 24.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.1422, allocations: 0.5077 MB / 482.5 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1422, allocations: 0 / 482.5 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.1423, allocations: 3.984 kB / 482.5 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1423, allocations: 4 kB / 482.5 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1423, allocations: 8 kB / 482.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1423, allocations: 0 / 482.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1423, allocations: 0 / 482.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1426, allocations: 233 kB / 482.7 MB, free: 24.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1427, allocations: 100.9 kB / 482.8 MB, free: 23.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.1427, allocations: 8 kB / 482.9 MB, free: 23.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1428, allocations: 4 kB / 482.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.1429, allocations: 19.97 kB / 482.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.143, allocations: 4 kB / 482.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1431, allocations: 133.2 kB / 483 MB, free: 23.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1431, allocations: 0 / 483 MB, free: 23.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004423/0.1435, allocations: 67.58 kB / 483.1 MB, free: 23.66 MB / 330.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.0005134/0.1441, allocations: 0.7675 MB / 483.8 MB, free: 22.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1444, allocations: 142.1 kB / 484 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1444, allocations: 0 / 484 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1445, allocations: 43.92 kB / 484 MB, free: 22.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1449, allocations: 28.98 kB / 484.1 MB, free: 22.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.147, allocations: 1.104 MB / 485.2 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1472, allocations: 0.7635 MB / 485.9 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1474, allocations: 37.91 kB / 486 MB, free: 20.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1476, allocations: 79.41 kB / 486 MB, free: 20.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1476, allocations: 0 / 486 MB, free: 20.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.1779, allocations: 3.589 MB / 489.6 MB, free: 17.13 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.1782, allocations: 198.8 kB / 489.8 MB, free: 16.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/2.989, allocations: 0 / 489.8 MB, free: 16.89 MB / 330.7 MB