Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.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.001731/0.001731, 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.002117/0.002117, allocations: 191.6 kB / 22.11 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.516/1.516, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.1077/0.1077, 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 446.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1422, allocations: 55.65 MB / 0.4905 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample): time 0.004344/0.1465, allocations: 1.835 MB / 0.4923 GB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1485, allocations: 0.8374 MB / 0.4931 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1487, allocations: 19.88 kB / 0.4931 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.1504, allocations: 0.6061 MB / 0.4937 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1505, allocations: 31.66 kB / 0.4937 GB, free: 3.754 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.0008949/0.1514, allocations: 237.8 kB / 0.494 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.1521, allocations: 462.9 kB / 0.4944 GB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.1529, allocations: 389.1 kB / 0.4948 GB, free: 2.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1531, allocations: 167.4 kB / 0.4949 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1534, allocations: 159.2 kB / 0.4951 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.1535, allocations: 36 kB / 0.4951 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1537, allocations: 51.98 kB / 0.4952 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1538, allocations: 95.69 kB / 0.4953 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.154, allocations: 167.1 kB / 0.4954 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.1547, allocations: 458 kB / 0.4959 GB, free: 1.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1547, allocations: 3.938 kB / 0.4959 GB, free: 1.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1547, allocations: 0 / 0.4959 GB, free: 1.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1547, allocations: 8 kB / 0.4959 GB, free: 1.559 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001168/0.1559, allocations: 0.5647 MB / 0.4964 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1559, allocations: 8.031 kB / 0.4964 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1561, allocations: 44.66 kB / 0.4965 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.1567, allocations: 258 kB / 0.4967 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.1568, allocations: 33.38 kB / 0.4968 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.1569, allocations: 44.31 kB / 0.4968 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1579, allocations: 455.7 kB / 0.4972 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1579, allocations: 3.938 kB / 0.4972 GB, free: 72 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.158, allocations: 16 kB / 0.4973 GB, free: 56 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.158, allocations: 12 kB / 0.4973 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.1588, allocations: 286.4 kB / 0.4975 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1613, allocations: 1.606 MB / 0.4991 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.1616, allocations: 135.1 kB / 0.4992 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1618, allocations: 60.77 kB / 0.4993 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.1618, allocations: 11.94 kB / 0.4993 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.1621, allocations: 110.8 kB / 0.4994 GB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.264e-06/0.1621, allocations: 0 / 0.4994 GB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0005467/0.1626, allocations: 213.4 kB / 0.4996 GB, free: 13.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.1627, allocations: 110.8 kB / 0.4997 GB, free: 13.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.163, allocations: 258.8 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1631, allocations: 33.7 kB / 0.5 GB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1633, allocations: 204.7 kB / 0.5002 GB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.1633, allocations: 51.64 kB / 0.5002 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.1635, allocations: 106.1 kB / 0.5003 GB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1637, allocations: 338.8 kB / 0.5007 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1639, allocations: 64.84 kB / 0.5007 GB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1642, allocations: 219.2 kB / 0.5009 GB, free: 12.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.1647, allocations: 280.9 kB / 0.5012 GB, free: 11.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1647, allocations: 4 kB / 0.5012 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005472/0.1652, allocations: 313 kB / 0.5015 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1652, allocations: 8 kB / 0.5015 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1653, allocations: 4 kB / 0.5015 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1653, allocations: 8 kB / 0.5015 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.1654, allocations: 27.86 kB / 0.5016 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.1654, allocations: 16.52 kB / 0.5016 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1656, allocations: 39.72 kB / 0.5016 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1656, allocations: 24 kB / 0.5016 GB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,step2.oldActive,$PRE.step2.oldActive,step3.oldActive,$PRE.step3.oldActive,T3.t_start,$PRE.T3.t_start,T3.enableFire,T3.fire,step3.outport_fire,step3.inport_fire,step3.newActive,$PRE.step3.newActive,T2.t_start,$PRE.T2.t_start,T2.enableFire,T2.fire,step2.outport_fire,step2.inport_fire,step2.newActive,$PRE.step2.newActive,T1.enableFire,T1.condition,initialStep.outport_fire,initialStep.inport_fire,initialStep.newActive,$PRE.initialStep.newActive,initialStep.active,$whenCondition1,$whenCondition2,T3.condition,T2.condition,initialStep.connectorNode.node.suspend,initialStep.connectorNode.node.resume,T3.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[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 (47): * Single equations (assignments): 47 * 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.0002084/0.1658, allocations: 199.1 kB / 0.5018 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1658, allocations: 19.86 kB / 0.5018 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.1662, allocations: 191.4 kB / 0.502 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1662, allocations: 8 kB / 0.502 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1662, allocations: 0 / 0.502 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1662, allocations: 0 / 0.502 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/0.167, allocations: 0.5975 MB / 0.5026 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.167, allocations: 0 / 0.5026 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.167, allocations: 4 kB / 0.5026 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.167, allocations: 4 kB / 0.5026 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.167, allocations: 3.938 kB / 0.5026 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.167, allocations: 0 / 0.5026 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.167, allocations: 11.94 kB / 0.5026 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1673, allocations: 271.1 kB / 0.5029 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.1674, allocations: 31.78 kB / 0.5029 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.1674, allocations: 19.91 kB / 0.5029 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1676, allocations: 8 kB / 0.503 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.1676, allocations: 23.95 kB / 0.503 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1677, allocations: 8 kB / 0.503 GB, free: 9.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1678, allocations: 148.7 kB / 0.5031 GB, free: 9.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1678, allocations: 0 / 0.5031 GB, free: 9.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1681, allocations: 79.73 kB / 0.5032 GB, free: 9.562 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 (initialStep.inport_fire,initialStep.outport_fire,step2.outport_fire,T2.enableFire,T3.enableFire,$whenCondition2,$whenCondition1,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.t_start) * Number of discrete states: 3 (step3.newActive,step2.newActive,initialStep.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001562/0.1683, allocations: 108.9 kB / 0.5033 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.1686, allocations: 198.8 kB / 0.5035 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1687, allocations: 3.938 kB / 0.5035 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1688, allocations: 55.92 kB / 0.5036 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1691, allocations: 27.98 kB / 0.5036 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.17, allocations: 488.2 kB / 0.504 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.1704, allocations: 0.7881 MB / 0.5048 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1705, allocations: 42.95 kB / 0.5049 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.1706, allocations: 27.44 kB / 0.5049 GB, free: 7.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1706, allocations: 0 / 0.5049 GB, free: 7.773 MB / 382.1 MB Notification: Performance of Templates: time 0.007197/0.1778, allocations: 2.4 MB / 0.5072 GB, free: 5.391 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.makefile [Timeout 660] (rm -f Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.pipe ; mkfifo Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.pipe ; head -c 1048576 < Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.pipe >> ../files/Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.sim & ./Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.167417112737894] Failed to read output from testmodel.py, exit status != 0: 0.1858518710359931 0.445282601 0.28744639 Calling exit ...