Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9844/0.9844, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03708/0.03708, allocations: 8.627 MB / 268.9 MB, free: 4.793 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl") translateModel(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 289.3 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.098e-05, allocations: 2.312 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.1214/0.1214, allocations: 10.23 MB / 299.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.1275, allocations: 4.056 MB / 303.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.1284, allocations: 74.28 kB / 303.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1289, allocations: 294.6 kB / 304 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.1306, allocations: 1.03 MB / 305 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.133, allocations: 1.199 MB / 306.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.1359, allocations: 2.72 MB / 308.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1369, allocations: 0.7152 MB / 309.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.139, allocations: 1.377 MB / 311 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.1402, allocations: 0.7829 MB / 311.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.1405, allocations: 99.31 kB / 311.9 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.1412, allocations: 273.2 kB / 312.2 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1415, allocations: 416.5 kB / 312.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1418, allocations: 454.9 kB / 313 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1431, allocations: 1.191 MB / 314.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1431, allocations: 4 kB / 314.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1431, allocations: 0 / 314.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.1432, allocations: 0 / 314.2 MB, free: 3.203 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001678/0.1448, allocations: 1.51 MB / 315.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1449, allocations: 8.031 kB / 315.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.1452, allocations: 216.6 kB / 315.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.1461, allocations: 0.742 MB / 316.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1462, allocations: 300.2 kB / 317 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.1462, allocations: 108.2 kB / 317.1 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1473, allocations: 1.36 MB / 318.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1473, allocations: 8.125 kB / 318.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.1474, allocations: 43.94 kB / 318.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.1475, allocations: 53.98 kB / 318.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/0.148, allocations: 442.8 kB / 319 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.1519, allocations: 5.118 MB / 324.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.1525, allocations: 445.4 kB / 324.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.1527, allocations: 151.2 kB / 324.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.1537, allocations: 0.7919 MB / 325.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1537, allocations: 51.16 kB / 325.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 1.764e-06/0.1537, allocations: 4 kB / 325.5 MB, free: 7.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=83): time 0.00232/0.1561, allocations: 1.414 MB / 326.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.1561, allocations: 145.5 kB / 327.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.1567, allocations: 0.8189 MB / 327.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.1568, allocations: 45.7 kB / 327.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.157, allocations: 0.5091 MB / 328.4 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.1572, allocations: 309.4 kB / 328.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.1574, allocations: 246.6 kB / 329 MB, free: 3.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1575, allocations: 361.8 kB / 329.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1577, allocations: 146.1 kB / 329.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.1583, allocations: 0.7406 MB / 330.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1596, allocations: 1.058 MB / 331.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.1597, allocations: 4 kB / 331.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00155/0.1612, allocations: 0.8863 MB / 332.2 MB, free: 24 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1612, allocations: 12 kB / 332.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.1613, allocations: 16.05 kB / 332.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007554/0.162, allocations: 275.9 kB / 332.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.163, allocations: 311.5 kB / 332.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.1655, allocations: 3.518 MB / 336.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.1664, allocations: 44 kB / 336.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.1665, allocations: 55.98 kB / 336.4 MB, free: 11.59 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: tank.level:VARIABLE(min = 0.0 start = tank.level_start_eps unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"Level height of tank\" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) \"Temperature of medium\" type: Real actuator.y:VARIABLE(flow=false min = 0.0 max = 1.0 start = actuator.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 20 (tank.inFlow[3],tank.inFlow[2],tank.inFlow[1],tank.regularFlow[3],tank.regularFlow[2],tank.regularFlow[1],PI_Valve.TS_in,PI_Level.TS_in,PI_Valve.satLOW_in,PI_Valve.satHIGH_in,PI_Valve.ATreq_in,sub.Yfp,sub.U2fp,sub.U1fp,div.Yfp,div.U2fp,div.U1fp,PI_Level.satLOW_in,PI_Level.satHIGH_in,PI_Level.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,7), (2,1), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004852/0.167, allocations: 238.6 kB / 336.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.1672, allocations: 91.91 kB / 336.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.1687, allocations: 0.8349 MB / 337.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.1687, allocations: 15.98 kB / 337.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1687, allocations: 3.938 kB / 337.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1687, allocations: 3.984 kB / 337.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.171, allocations: 1.176 MB / 338.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.171, allocations: 4 kB / 338.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007229/0.1717, allocations: 176.6 kB / 338.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006777/0.1724, allocations: 240.7 kB / 339.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.1725, allocations: 16 kB / 339.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.1752, allocations: 3.511 MB / 342.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1752, allocations: 4 kB / 342.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.1768, allocations: 0.8893 MB / 343.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.1773, allocations: 151.1 kB / 343.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.1774, allocations: 16 kB / 343.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.1778, allocations: 31.98 kB / 343.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.178, allocations: 80.78 kB / 343.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.1781, allocations: 27.98 kB / 343.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.1786, allocations: 360.2 kB / 344.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1786, allocations: 0 / 344.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001503/0.1801, allocations: 319.9 kB / 344.5 MB, free: 3.094 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (PI_Level.Iaction,PI_Level.Fder,tank.level,tank.medium.T,actuator.y,PI_Valve.Iaction,PI_Valve.Fder) * Number of discrete variables: 6 (tank.regularFlow[1],tank.regularFlow[2],tank.regularFlow[3],tank.inFlow[1],tank.inFlow[2],tank.inFlow[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,9), (2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004325/0.1805, allocations: 180 kB / 344.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.1822, allocations: 0.8597 MB / 345.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.188e-05/0.1822, allocations: 19.12 kB / 345.6 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.183, allocations: 0.5213 MB / 346.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.185, allocations: 473.2 kB / 346.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.1892, allocations: 2.038 MB / 348.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1895, allocations: 254.7 kB / 348.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008244/0.1903, allocations: 202.4 kB / 349.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.1914, allocations: 410.9 kB / 349.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1914, allocations: 0 / 349.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Templates: time 0.03741/0.2288, allocations: 21.47 MB / 370.9 MB, free: 8.988 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3541476880200207]