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.001474/0.001474, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001674/0.001674, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.121/1.121, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03838/0.03838, allocations: 8.612 MB / 269.6 MB, free: 4.762 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.303e-06/1.303e-06, allocations: 0 / 343.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.884e-05, allocations: 8.844 kB / 343.3 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.009021/0.00905, allocations: 10.14 MB / 353.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005605/0.01465, allocations: 3.98 MB / 357.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008924/0.01555, allocations: 71.31 kB / 357.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.01619, allocations: 297.6 kB / 357.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.01798, allocations: 1.029 MB / 358.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.02021, allocations: 1.227 MB / 360.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.02309, allocations: 2.717 MB / 362.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.02408, allocations: 0.7273 MB / 363.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.02579, allocations: 1.383 MB / 364.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008675/0.02665, allocations: 0.8373 MB / 365.7 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.02677, allocations: 100 kB / 365.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.02728, allocations: 263.6 kB / 366.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.02756, allocations: 418.6 kB / 366.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.02791, allocations: 458.8 kB / 366.9 MB, free: 212 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.02907, allocations: 1.195 MB / 368.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.02908, allocations: 0 / 368.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.02908, allocations: 0 / 368.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.02909, allocations: 0 / 368.1 MB, free: 15.01 MB / 346.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.002044/0.03113, allocations: 1.662 MB / 369.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.03117, allocations: 8.031 kB / 369.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/0.03169, allocations: 255.8 kB / 370.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.03259, allocations: 0.8278 MB / 370.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.03273, allocations: 300.2 kB / 371.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.03285, allocations: 96.38 kB / 371.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.03415, allocations: 1.457 MB / 372.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.03418, allocations: 8.125 kB / 372.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.03425, allocations: 43.94 kB / 372.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.0343, allocations: 53.98 kB / 372.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.03484, allocations: 465 kB / 373.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.03941, allocations: 7.305 MB / 380.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.04009, allocations: 446.1 kB / 381 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.04029, allocations: 182.9 kB / 381.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.04134, allocations: 0.927 MB / 382.1 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.04137, allocations: 50.05 kB / 382.2 MB, free: 276 kB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.923e-06/0.04137, allocations: 0 / 382.2 MB, free: 276 kB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.002894/0.04426, allocations: 1.588 MB / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.04431, allocations: 137.5 kB / 383.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.04488, allocations: 0.8873 MB / 384.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.04493, allocations: 41.7 kB / 384.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.04524, allocations: 0.67 MB / 385.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.04542, allocations: 313.4 kB / 385.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.04565, allocations: 272.3 kB / 386.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.0458, allocations: 0.5354 MB / 386.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.04598, allocations: 147.2 kB / 386.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.04654, allocations: 0.9927 MB / 387.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.04751, allocations: 1.277 MB / 389 MB, free: 8.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.04752, allocations: 4 kB / 389 MB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.001452/0.04897, allocations: 1.085 MB / 390.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.04899, allocations: 12 kB / 390.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.04901, allocations: 16.88 kB / 390.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.04943, allocations: 262.8 kB / 390.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.04996, allocations: 279.5 kB / 390.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.05207, allocations: 4.842 MB / 395.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.0525, allocations: 47.98 kB / 395.6 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.05257, allocations: 56 kB / 395.6 MB, free: 1.734 MB / 362.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.0003512/0.05292, allocations: 273.1 kB / 395.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.05306, allocations: 143.2 kB / 396 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.05459, allocations: 1.021 MB / 397 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.0546, allocations: 8.141 kB / 397.1 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.05461, allocations: 3.984 kB / 397.1 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.05462, allocations: 7.984 kB / 397.1 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.05635, allocations: 1.459 MB / 398.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.05636, allocations: 8.031 kB / 398.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.05675, allocations: 159.8 kB / 398.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.05709, allocations: 230.8 kB / 398.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.05714, allocations: 23.98 kB / 398.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.05906, allocations: 4.817 MB / 403.8 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.05906, allocations: 7.938 kB / 403.8 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.06044, allocations: 1.07 MB / 404.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.06069, allocations: 179.1 kB / 405 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.06077, allocations: 23.98 kB / 405 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.06104, allocations: 27.94 kB / 405.1 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.06116, allocations: 80.78 kB / 405.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.06121, allocations: 31.98 kB / 405.2 MB, free: 7.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.06152, allocations: 485.9 kB / 405.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06152, allocations: 3.938 kB / 405.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000853/0.06237, allocations: 327.9 kB / 406 MB, free: 6.941 MB / 378.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.0002897/0.06266, allocations: 201.7 kB / 406.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.06368, allocations: 1.009 MB / 407.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.06368, allocations: 1.25 kB / 407.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.0642, allocations: 0.6592 MB / 407.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.06527, allocations: 449.2 kB / 408.3 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.06786, allocations: 2.099 MB / 410.4 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.06804, allocations: 250.8 kB / 410.6 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005048/0.06854, allocations: 207.7 kB / 410.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/0.0695, allocations: 481.8 kB / 411.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.0695, allocations: 0 / 411.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of Templates: time 0.02796/0.09747, allocations: 21.84 MB / 433.1 MB, free: 12.02 MB / 410.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7077268031425774]