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.001023/0.001023, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001074/0.001074, allocations: 192.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2644/0.2644, allocations: 13.54 MB / 303.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 367.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 52.69 MB / 419.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.003381/0.1321, allocations: 1.756 MB / 421.7 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.134, allocations: 0.7637 MB / 422.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.1342, allocations: 11.94 kB / 422.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.1353, allocations: 485.8 kB / 423 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.1354, allocations: 11.86 kB / 423 MB, free: 15.09 MB / 366.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.0006885/0.1361, allocations: 179.1 kB / 423.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1365, allocations: 343.3 kB / 423.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.1371, allocations: 385.5 kB / 423.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1372, allocations: 131.5 kB / 424 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1373, allocations: 111.4 kB / 424.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.1374, allocations: 27.98 kB / 424.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1375, allocations: 47.92 kB / 424.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.1376, allocations: 67.77 kB / 424.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1377, allocations: 115.3 kB / 424.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.1381, allocations: 311 kB / 424.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.1381, allocations: 0 / 424.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1381, allocations: 0 / 424.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1381, allocations: 4 kB / 424.6 MB, free: 13.4 MB / 366.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.0007125/0.1389, allocations: 0.5402 MB / 425.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1389, allocations: 19.88 kB / 425.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.139, allocations: 32.56 kB / 425.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.1393, allocations: 275.8 kB / 425.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1394, allocations: 21.03 kB / 425.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1394, allocations: 28.38 kB / 425.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.14, allocations: 340.6 kB / 425.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.14, allocations: 0 / 425.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.14, allocations: 12 kB / 425.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1401, allocations: 4 kB / 425.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.1404, allocations: 210.1 kB / 426.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1419, allocations: 1.609 MB / 427.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.1422, allocations: 273 kB / 428 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1423, allocations: 48.84 kB / 428 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.1424, allocations: 85.09 kB / 428.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1424, allocations: 34.56 kB / 428.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.1424, allocations: 0 / 428.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003045/0.1427, allocations: 159.5 kB / 428.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1428, allocations: 55.41 kB / 428.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.143, allocations: 218.8 kB / 428.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.143, allocations: 33.7 kB / 428.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.1431, allocations: 164.3 kB / 428.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.1431, allocations: 47.42 kB / 428.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.1432, allocations: 81.59 kB / 428.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1434, allocations: 330.8 kB / 429.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1435, allocations: 51.84 kB / 429.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1436, allocations: 143.9 kB / 429.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1438, allocations: 202.2 kB / 429.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.1438, allocations: 0 / 429.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003529/0.1442, allocations: 233.5 kB / 429.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1442, allocations: 12.03 kB / 429.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.1443, allocations: 3.984 kB / 429.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.1443, allocations: 11.94 kB / 429.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1444, allocations: 15.94 kB / 429.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.1444, allocations: 7.984 kB / 429.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1446, allocations: 19.84 kB / 429.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.1446, allocations: 12 kB / 429.9 MB, free: 7.641 MB / 366.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,step1.oldActive,$PRE.step1.oldActive,step2.oldActive,$PRE.step2.oldActive,step3.oldActive,$PRE.step3.oldActive,step1.connectorNode.node.suspend,step1.connectorNode.node.resume,step3.outport_fire,step1.inport_fire,step3.inport_fire,step3.newActive,$PRE.step3.newActive,step3.active,T2.enableFire,T2.condition,step2.outport_fire,step2.inport_fire,step2.newActive,$PRE.step2.newActive,step2.active,T1.enableFire,T1.condition,step1.outport_fire,step1.newActive,$PRE.step1.newActive,step1.active,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003522/0.145, allocations: 173.7 kB / 430.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.145, allocations: 15.81 kB / 430.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1453, allocations: 141.5 kB / 430.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1453, allocations: 3.938 kB / 430.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1453, allocations: 0 / 430.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1453, allocations: 7.984 kB / 430.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.146, allocations: 0.5098 MB / 430.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.146, allocations: 0 / 430.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.146, allocations: 8 kB / 430.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.146, allocations: 0 / 430.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.146, allocations: 0 / 430.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.146, allocations: 4 kB / 430.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.146, allocations: 0 / 430.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1463, allocations: 237.3 kB / 431 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.1464, allocations: 97 kB / 431.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1464, allocations: 0 / 431.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.1465, allocations: 12 kB / 431.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.1466, allocations: 23.88 kB / 431.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1466, allocations: 4 kB / 431.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1467, allocations: 125.2 kB / 431.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1467, allocations: 0 / 431.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1471, allocations: 63.7 kB / 431.3 MB, free: 6.121 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/0.1472, allocations: 119.9 kB / 431.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1475, allocations: 155.7 kB / 431.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1475, allocations: 0 / 431.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1476, allocations: 51.92 kB / 431.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1479, allocations: 19.94 kB / 431.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.1487, allocations: 481.2 kB / 432.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.149, allocations: 0.7634 MB / 432.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.738e-05/0.1491, allocations: 37.86 kB / 432.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.1492, allocations: 19.44 kB / 432.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1492, allocations: 0 / 432.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of Templates: time 0.004349/0.1536, allocations: 1.48 MB / 434.4 MB, free: 2.961 MB / 366.1 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)