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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 108 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1031/0.1031, allocations: 13.55 MB / 310.8 MB, free: 15.05 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.88 kB / 430.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 52.7 MB / 483 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.003294/0.1239, allocations: 1.717 MB / 484.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1255, allocations: 0.779 MB / 485.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1256, allocations: 11.94 kB / 485.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1267, allocations: 0.5167 MB / 486 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.1268, allocations: 23.67 kB / 486.1 MB, free: 5.273 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.0006285/0.1275, allocations: 203.4 kB / 486.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.1281, allocations: 343.2 kB / 486.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.1286, allocations: 363.4 kB / 486.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1288, allocations: 123.5 kB / 487.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.129, allocations: 115.4 kB / 487.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.129, allocations: 31.94 kB / 487.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1291, allocations: 39.98 kB / 487.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1292, allocations: 67.81 kB / 487.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1294, allocations: 123.3 kB / 487.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.1298, allocations: 326.6 kB / 487.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1298, allocations: 0 / 487.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1298, allocations: 0 / 487.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1299, allocations: 0 / 487.7 MB, free: 3.57 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.000982/0.1308, allocations: 0.54 MB / 488.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.1309, allocations: 19.89 kB / 488.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.131, allocations: 28.75 kB / 488.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.1317, allocations: 295.8 kB / 488.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.1317, allocations: 25.03 kB / 488.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.1318, allocations: 28.38 kB / 488.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.1325, allocations: 340.6 kB / 489 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1325, allocations: 0 / 489 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.1326, allocations: 12 kB / 489 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.1326, allocations: 8 kB / 489 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.133, allocations: 206.1 kB / 489.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1352, allocations: 1.598 MB / 490.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.1356, allocations: 284.9 kB / 491.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.1357, allocations: 52.83 kB / 491.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.1358, allocations: 77.11 kB / 491.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.1359, allocations: 34.56 kB / 491.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1359, allocations: 0 / 491.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003978/0.1363, allocations: 161.4 kB / 491.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.1364, allocations: 55.41 kB / 491.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1366, allocations: 223.8 kB / 491.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1367, allocations: 25.7 kB / 491.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1368, allocations: 168.7 kB / 491.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1369, allocations: 39.73 kB / 491.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.137, allocations: 85.62 kB / 492 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1372, allocations: 330.8 kB / 492.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.1373, allocations: 51.83 kB / 492.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1375, allocations: 144 kB / 492.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1378, allocations: 198.9 kB / 492.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1378, allocations: 4 kB / 492.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003705/0.1381, allocations: 241.3 kB / 493 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1382, allocations: 14.59 kB / 493 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1382, allocations: 0 / 493 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.1382, allocations: 11.94 kB / 493 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.1383, allocations: 15.92 kB / 493 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1383, allocations: 4 kB / 493 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1384, allocations: 23.84 kB / 493 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.1385, allocations: 16 kB / 493 MB, free: 13.79 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.000218/0.1387, allocations: 181.9 kB / 493.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1388, allocations: 19.89 kB / 493.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.139, allocations: 135.5 kB / 493.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1391, allocations: 3.938 kB / 493.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1391, allocations: 3.984 kB / 493.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1391, allocations: 0 / 493.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.1397, allocations: 0.506 MB / 493.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1397, allocations: 0 / 493.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.1397, allocations: 4 kB / 493.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1397, allocations: 0 / 493.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1398, allocations: 7.984 kB / 493.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1398, allocations: 4 kB / 493.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1398, allocations: 0 / 493.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.14, allocations: 229.9 kB / 494.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.1401, allocations: 100.9 kB / 494.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1402, allocations: 15.98 kB / 494.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.1402, allocations: 0 / 494.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.1403, allocations: 19.92 kB / 494.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1403, allocations: 4 kB / 494.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1404, allocations: 132.1 kB / 494.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1404, allocations: 0 / 494.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1408, allocations: 51.84 kB / 494.4 MB, free: 12.27 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.0002147/0.141, allocations: 121.6 kB / 494.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.1413, allocations: 143.7 kB / 494.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1413, allocations: 0 / 494.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.1414, allocations: 51.91 kB / 494.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1417, allocations: 35.12 kB / 494.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.1426, allocations: 407.9 kB / 495.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.1431, allocations: 0.7556 MB / 495.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1433, allocations: 37.92 kB / 496 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1433, allocations: 23.42 kB / 496 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1433, allocations: 0 / 496 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Templates: time 0.005551/0.1489, allocations: 1.52 MB / 497.5 MB, free: 9.141 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.779697207733989]