Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.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.0009815/0.0009815, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001143/0.001143, allocations: 181 kB / 23.36 MB, free: 1.133 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.9917/0.9917, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.08265/0.08265, allocations: 8.625 MB / 268.9 MB, free: 4.789 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.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") translateModel(IndustrialControlSystems.Applications.ProcessControl.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 4 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.522e-05, allocations: 5.406 kB / 289.3 MB, free: 324 kB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.LevelControl): time 0.1139/0.1139, allocations: 9.763 MB / 299.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1199, allocations: 3.772 MB / 302.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.1206, allocations: 53.16 kB / 302.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.1212, allocations: 267.5 kB / 303.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.1231, allocations: 0.974 MB / 304.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1253, allocations: 1.062 MB / 305.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.1277, allocations: 2.519 MB / 307.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.1285, allocations: 0.6581 MB / 308.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.1301, allocations: 1.258 MB / 309.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.1312, allocations: 0.7441 MB / 310.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.1313, allocations: 91.53 kB / 310.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.132, allocations: 311.6 kB / 310.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.1323, allocations: 394.3 kB / 311.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.1327, allocations: 427 kB / 311.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1338, allocations: 1.16 MB / 312.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1338, allocations: 4 kB / 312.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1338, allocations: 0 / 312.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1338, allocations: 0 / 312.7 MB, free: 4.797 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00194/0.1358, allocations: 1.359 MB / 314.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1358, allocations: 8.031 kB / 314.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.1362, allocations: 196.5 kB / 314.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.1372, allocations: 0.6291 MB / 314.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.1373, allocations: 339.6 kB / 315.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1374, allocations: 92.92 kB / 315.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1385, allocations: 1.358 MB / 316.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1386, allocations: 192 / 316.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.1386, allocations: 43.92 kB / 316.8 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.1387, allocations: 55.42 kB / 316.8 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006992/0.1394, allocations: 391 kB / 317.2 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.1443, allocations: 4.183 MB / 321.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.145, allocations: 396.9 kB / 321.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.1453, allocations: 132.3 kB / 321.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.1467, allocations: 0.7497 MB / 322.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.1474, allocations: 0.6628 MB / 323.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.434e-06/0.1474, allocations: 0 / 323.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=76): time 0.003417/0.1508, allocations: 1.306 MB / 324.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1509, allocations: 251.9 kB / 324.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.1516, allocations: 0.7117 MB / 325.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.1517, allocations: 45.69 kB / 325.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.152, allocations: 473.4 kB / 326.1 MB, free: 6.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.1522, allocations: 265.8 kB / 326.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.1525, allocations: 238.6 kB / 326.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1527, allocations: 410.5 kB / 327 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.153, allocations: 133.4 kB / 327.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.1537, allocations: 0.8123 MB / 327.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1549, allocations: 0.9994 MB / 328.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.1549, allocations: 8 kB / 328.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001471/0.1564, allocations: 0.8128 MB / 329.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1564, allocations: 12.22 kB / 329.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.1564, allocations: 22.73 kB / 329.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007746/0.1572, allocations: 277.4 kB / 330 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.1581, allocations: 280.3 kB / 330.3 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.1606, allocations: 3.511 MB / 333.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.1612, allocations: 48 kB / 333.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.1613, allocations: 52.8 kB / 333.9 MB, free: 14.11 MB / 298.7 MB Warning: Assuming fixed start value for the following 8 variables: PI_Level.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real PI_Level.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real sub.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer 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 PI_Level.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real div.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 27 (PI_Level.FBout,$PRE.PI_Level.FBout,$PRE.PI_Level.cs,PI_Level.cs,$PRE.PI_Level.satin,PI_Level.satin,$whenCondition1,$PRE.sub.Yfp,sub.Yfp,div.U1fp,$PRE.PI_Level.CS,sub.U1fp,tank.inFlow[3],tank.inFlow[2],tank.inFlow[1],tank.regularFlow[3],tank.regularFlow[2],tank.regularFlow[1],PI_Level.CS,PI_Level.TS_in,$PRE.div.Yfp,div.U2fp,div.Yfp,sub.U2fp,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 (142): * Single equations (assignments): 139 * 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.00041/0.1617, allocations: 245.6 kB / 334.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.1619, allocations: 83.91 kB / 334.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1631, allocations: 0.7744 MB / 335 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1631, allocations: 8 kB / 335 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1631, allocations: 3.938 kB / 335 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1631, allocations: 3.984 kB / 335 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1644, allocations: 1.079 MB / 336.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1644, allocations: 3.984 kB / 336.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.1647, allocations: 130.3 kB / 336.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.1652, allocations: 253.7 kB / 336.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.1652, allocations: 23.98 kB / 336.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.1668, allocations: 3.497 MB / 340 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1668, allocations: 4.125 kB / 340 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.1677, allocations: 0.8263 MB / 340.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.1679, allocations: 135.2 kB / 341 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.168, allocations: 23.94 kB / 341 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1682, allocations: 31.97 kB / 341 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1683, allocations: 76.52 kB / 341.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.1684, allocations: 27.92 kB / 341.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.1686, allocations: 316.5 kB / 341.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1686, allocations: 0 / 341.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000752/0.1694, allocations: 319.9 kB / 341.8 MB, free: 5.934 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (tank.level,tank.medium.T,actuator.y) * Number of discrete variables: 15 ($whenCondition1,PI_Level.CS,PI_Level.FBout,PI_Level.cs,PI_Level.satin,tank.regularFlow[1],tank.regularFlow[2],tank.regularFlow[3],tank.inFlow[1],tank.inFlow[2],tank.inFlow[3],div.U1fp,div.Yfp,sub.U1fp,sub.Yfp) * Number of discrete states: 2 (PI_Level.FBout,PI_Level.cs) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 6 * 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.0003205/0.1697, allocations: 202.7 kB / 342 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.1706, allocations: 0.8021 MB / 342.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-05/0.1706, allocations: 17.81 kB / 342.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.1711, allocations: 0.4956 MB / 343.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.172, allocations: 431.7 kB / 343.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1742, allocations: 1.739 MB / 345.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.1744, allocations: 226 kB / 345.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.1748, allocations: 190.8 kB / 345.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/0.1756, allocations: 394.9 kB / 346.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1756, allocations: 0 / 346.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of Templates: time 0.02235/0.1979, allocations: 21.79 MB / 368 MB, free: 11.97 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.136373917106539]