Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.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.001415/0.001415, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002029/0.002029, allocations: 189.8 kB / 22.1 MB, free: 5.152 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.604/1.604, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.1091/0.1091, allocations: 13.78 MB / 319.8 MB, free: 10.84 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.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.89 kB / 446.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1396, allocations: 55.66 MB / 0.4905 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3): time 0.003892/0.1435, allocations: 1.897 MB / 0.4924 GB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1455, allocations: 0.8608 MB / 0.4932 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1458, allocations: 19.81 kB / 0.4932 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.1472, allocations: 0.6022 MB / 0.4938 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1474, allocations: 35.66 kB / 0.4938 GB, free: 3.68 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.000907/0.1483, allocations: 251.6 kB / 0.4941 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.1489, allocations: 471 kB / 0.4945 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006725/0.1496, allocations: 414.3 kB / 0.4949 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1498, allocations: 183.3 kB / 0.4951 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1501, allocations: 167.2 kB / 0.4953 GB, free: 2.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.1501, allocations: 36 kB / 0.4953 GB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1503, allocations: 52 kB / 0.4953 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1504, allocations: 107.7 kB / 0.4954 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1506, allocations: 183 kB / 0.4956 GB, free: 1.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.1513, allocations: 466 kB / 0.4961 GB, free: 1.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1514, allocations: 3.938 kB / 0.4961 GB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1514, allocations: 0 / 0.4961 GB, free: 1.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1514, allocations: 4 kB / 0.4961 GB, free: 1.379 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001156/0.1525, allocations: 0.6043 MB / 0.4967 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1526, allocations: 8.031 kB / 0.4967 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1527, allocations: 48.66 kB / 0.4967 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.1533, allocations: 277.8 kB / 0.497 GB, free: 396 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1535, allocations: 63.27 kB / 0.497 GB, free: 328 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.1535, allocations: 40.38 kB / 0.4971 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.1543, allocations: 475.5 kB / 0.4975 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1543, allocations: 0 / 0.4975 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.1544, allocations: 23.98 kB / 0.4976 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1544, allocations: 8 kB / 0.4976 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.155, allocations: 302.3 kB / 0.4978 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.1572, allocations: 1.716 MB / 0.4995 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.1575, allocations: 157.6 kB / 0.4997 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1576, allocations: 85.62 kB / 0.4998 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.1583, allocations: 0.5378 MB / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.1586, allocations: 170.2 kB / 0.5004 GB, free: 12.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.1586, allocations: 0 / 0.5004 GB, free: 12.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0005425/0.1591, allocations: 275.2 kB / 0.5007 GB, free: 12.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.1593, allocations: 166.2 kB / 0.5009 GB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1596, allocations: 258.8 kB / 0.5011 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1596, allocations: 41.7 kB / 0.5012 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1598, allocations: 204.7 kB / 0.5013 GB, free: 11.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1599, allocations: 59.62 kB / 0.5014 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.16, allocations: 106.1 kB / 0.5015 GB, free: 11.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1603, allocations: 338.8 kB / 0.5018 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1604, allocations: 68.84 kB / 0.5019 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.1607, allocations: 227.2 kB / 0.5021 GB, free: 10.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.1611, allocations: 337.2 kB / 0.5024 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1611, allocations: 0 / 0.5024 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005604/0.1616, allocations: 362.6 kB / 0.5028 GB, free: 9.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.1617, allocations: 34.33 kB / 0.5028 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1617, allocations: 4 kB / 0.5028 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1618, allocations: 12 kB / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1619, allocations: 31.86 kB / 0.5029 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1619, allocations: 8 kB / 0.5029 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1621, allocations: 35.77 kB / 0.5029 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1621, allocations: 20 kB / 0.5029 GB, free: 9.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.onDelay.u,step3.oldActive,$PRE.step3.oldActive,step2.oldActive,$PRE.step2.oldActive,initialStep.oldActive,$PRE.initialStep.oldActive,onDelay.t_next,$PRE.onDelay.t_next,onDelay.delaySignal,$PRE.onDelay.delaySignal,onDelay.u,onDelay.y,T3.t_start,$PRE.T3.t_start,T3.enableFire,T3.fire,step3.outport_fire,step3.inport_fire,step3.newActive,$PRE.step3.newActive,T2.enableFire,step2.inport_fire,step2.newActive,$PRE.step2.newActive,T1.enableFire,T1.condition,initialStep.newActive,$PRE.initialStep.newActive,initialStep.active,$whenCondition3,$whenCondition2,$whenCondition1,step3.outPort[1].checkOneDelayedTransitionPerLoop,T3.condition,initialStep.connectorNode.node.suspend,initialStep.connectorNode.node.resume,T2.condition,T3.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002656/0.1624, allocations: 232.8 kB / 0.5031 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.1624, allocations: 27.8 kB / 0.5032 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1628, allocations: 245.1 kB / 0.5034 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1628, allocations: 0 / 0.5034 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1628, allocations: 0 / 0.5034 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1628, allocations: 0 / 0.5034 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.1637, allocations: 0.6538 MB / 0.504 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1637, allocations: 3.984 kB / 0.504 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.1637, allocations: 3.938 kB / 0.504 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1637, allocations: 8 kB / 0.5041 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1637, allocations: 8 kB / 0.5041 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1637, allocations: 0 / 0.5041 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1638, allocations: 4 kB / 0.5041 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.1642, allocations: 336.8 kB / 0.5044 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1642, allocations: 31.83 kB / 0.5044 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1643, allocations: 4 kB / 0.5044 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1644, allocations: 11.98 kB / 0.5044 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.1645, allocations: 31.91 kB / 0.5045 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1645, allocations: 4 kB / 0.5045 GB, free: 8.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1646, allocations: 144.7 kB / 0.5046 GB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 0 / 0.5046 GB, free: 8.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.165, allocations: 91.66 kB / 0.5047 GB, free: 7.922 MB / 382.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: 23 (T3.enableFire,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.enableFire,step3.newActive,step3.oldActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.t_start,onDelay.y,onDelay.u,onDelay.delaySignal,onDelay.t_next) * Number of discrete states: 7 (initialStep.newActive,step2.newActive,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,step3.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0002042/0.1652, allocations: 103.2 kB / 0.5048 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.1657, allocations: 265.5 kB / 0.505 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1657, allocations: 4 kB / 0.505 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.1658, allocations: 123.3 kB / 0.5052 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1661, allocations: 31.61 kB / 0.5052 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1672, allocations: 0.5079 MB / 0.5057 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1677, allocations: 0.7994 MB / 0.5065 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1678, allocations: 38.94 kB / 0.5065 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.1679, allocations: 23.44 kB / 0.5065 GB, free: 5.941 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1679, allocations: 0 / 0.5065 GB, free: 5.941 MB / 382.1 MB Notification: Performance of Templates: time 0.007222/0.1751, allocations: 2.287 MB / 0.5088 GB, free: 3.676 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.pipe ; mkfifo Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.pipe >> ../files/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.sim & ./Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.292504915036261] Failed to read output from testmodel.py, exit status != 0: 0.18409006111323833 0.481334878 0.326247412 Calling exit ...