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.00189/0.00189, allocations: 104.5 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.001506/0.001506, allocations: 189.5 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.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.09814/0.09814, allocations: 13.78 MB / 319.8 MB, free: 10.81 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.00202/0.00202, allocations: 63.88 kB / 446.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1365, allocations: 55.66 MB / 0.4905 GB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.003241/0.1397, allocations: 1.73 MB / 0.4922 GB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1413, allocations: 0.7868 MB / 0.493 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1414, allocations: 15.88 kB / 0.493 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1425, allocations: 0.5246 MB / 0.4935 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.1426, allocations: 27.67 kB / 0.4935 GB, free: 3.949 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.0006926/0.1433, allocations: 211.6 kB / 0.4937 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.1438, allocations: 355.2 kB / 0.4941 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.1443, allocations: 271.9 kB / 0.4943 GB, free: 3.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1445, allocations: 131.5 kB / 0.4944 GB, free: 2.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1447, allocations: 115.4 kB / 0.4945 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.1447, allocations: 24 kB / 0.4946 GB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1449, allocations: 39.98 kB / 0.4946 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.145, allocations: 79.69 kB / 0.4947 GB, free: 2.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1451, allocations: 119.3 kB / 0.4948 GB, free: 2.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1456, allocations: 326.6 kB / 0.4951 GB, free: 2.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1456, allocations: 7.984 kB / 0.4951 GB, free: 2.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1456, allocations: 0 / 0.4951 GB, free: 2.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1456, allocations: 0 / 0.4951 GB, free: 2.293 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.000788/0.1464, allocations: 483.7 kB / 0.4956 GB, free: 1.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1464, allocations: 8.031 kB / 0.4956 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.1465, allocations: 32.75 kB / 0.4956 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.147, allocations: 229.5 kB / 0.4958 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.147, allocations: 21.03 kB / 0.4959 GB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.1471, allocations: 32.38 kB / 0.4959 GB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.1477, allocations: 336.4 kB / 0.4962 GB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1477, allocations: 4 kB / 0.4962 GB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1478, allocations: 8 kB / 0.4962 GB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1478, allocations: 8 kB / 0.4962 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1482, allocations: 209.8 kB / 0.4964 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1501, allocations: 1.258 MB / 0.4977 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1504, allocations: 118.7 kB / 0.4978 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.1504, allocations: 44.84 kB / 0.4978 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1505, allocations: 4 kB / 0.4978 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.1505, allocations: 42.55 kB / 0.4979 GB, free: 15.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.1505, allocations: 0 / 0.4979 GB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.000405/0.1509, allocations: 164.4 kB / 0.498 GB, free: 15.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.151, allocations: 51.41 kB / 0.4981 GB, free: 15.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1512, allocations: 211 kB / 0.4983 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1513, allocations: 37.69 kB / 0.4983 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1514, allocations: 172.7 kB / 0.4985 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1515, allocations: 43.72 kB / 0.4985 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1516, allocations: 81.62 kB / 0.4986 GB, free: 14.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1518, allocations: 326.8 kB / 0.4989 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.1519, allocations: 59.83 kB / 0.499 GB, free: 14.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.1521, allocations: 152.7 kB / 0.4991 GB, free: 13.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.1523, allocations: 199.2 kB / 0.4993 GB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1523, allocations: 4 kB / 0.4993 GB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003693/0.1527, allocations: 229.2 kB / 0.4995 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1527, allocations: 4.406 kB / 0.4995 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1527, allocations: 8 kB / 0.4995 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1528, allocations: 7.938 kB / 0.4995 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1528, allocations: 23.92 kB / 0.4996 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1529, allocations: 4 kB / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.153, allocations: 27.78 kB / 0.4996 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.153, allocations: 19.92 kB / 0.4996 GB, free: 13.39 MB / 382.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.0002108/0.1532, allocations: 165.8 kB / 0.4998 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1533, allocations: 19.91 kB / 0.4998 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.1535, allocations: 139.4 kB / 0.4999 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1535, allocations: 7.938 kB / 0.4999 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1535, allocations: 0 / 0.4999 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1535, allocations: 0 / 0.4999 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.1543, allocations: 485.3 kB / 0.5004 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1543, allocations: 0 / 0.5004 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.1543, allocations: 3.984 kB / 0.5004 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1543, allocations: 4 kB / 0.5004 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1543, allocations: 8 kB / 0.5004 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1543, allocations: 3.938 kB / 0.5004 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1543, allocations: 3.938 kB / 0.5004 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1546, allocations: 230.1 kB / 0.5006 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.1546, allocations: 19.91 kB / 0.5006 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1546, allocations: 7.984 kB / 0.5006 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1547, allocations: 4 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.1548, allocations: 11.98 kB / 0.5007 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1548, allocations: 11.98 kB / 0.5007 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.155, allocations: 129.2 kB / 0.5008 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.155, allocations: 0 / 0.5008 GB, free: 12.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1553, allocations: 55.78 kB / 0.5009 GB, free: 12.02 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: 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.0002053/0.1555, allocations: 120 kB / 0.501 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1558, allocations: 131.9 kB / 0.5011 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1558, allocations: 0 / 0.5011 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.1559, allocations: 47.92 kB / 0.5011 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1562, allocations: 27.92 kB / 0.5012 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.157, allocations: 400 kB / 0.5015 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1574, allocations: 0.7641 MB / 0.5023 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1575, allocations: 41.91 kB / 0.5023 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1576, allocations: 23.44 kB / 0.5024 GB, free: 10.42 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1576, allocations: 0 / 0.5024 GB, free: 10.42 MB / 382.1 MB Notification: Performance of Templates: time 0.005628/0.1632, allocations: 1.609 MB / 0.5039 GB, free: 8.82 MB / 382.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: 5.0726311122998595] Failed to read output from testmodel.py, exit status != 0: 0.17223167978227139 0.400737128 0.252391294 Calling exit ...