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.0008781/0.0008781, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009106/0.0009106, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.04815/0.04815, allocations: 8.622 MB / 268.6 MB, free: 4.918 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.523e-06/1.523e-06, allocations: 0 / 342.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.059e-05, allocations: 2.312 kB / 342.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.007512/0.007533, allocations: 10.23 MB / 352.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004972/0.0125, allocations: 4 MB / 356.3 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.01313, allocations: 67.31 kB / 356.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.01379, allocations: 297.6 kB / 356.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.01529, allocations: 1.033 MB / 357.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.01713, allocations: 1.227 MB / 358.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.01921, allocations: 2.717 MB / 361.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.01997, allocations: 0.7273 MB / 362.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.02126, allocations: 1.36 MB / 363.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.02211, allocations: 0.849 MB / 364.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.02225, allocations: 100 kB / 364.7 MB, free: 460 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.02271, allocations: 259.7 kB / 365 MB, free: 200 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.02304, allocations: 418.7 kB / 365.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.02349, allocations: 458.8 kB / 365.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.02486, allocations: 1.195 MB / 367 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.02487, allocations: 3.938 kB / 367 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02487, allocations: 0 / 367 MB, free: 14.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.02488, allocations: 0 / 367 MB, free: 14.13 MB / 298.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.002035/0.02692, allocations: 1.663 MB / 368.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.02695, allocations: 8.031 kB / 368.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.02735, allocations: 259.7 kB / 368.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.02831, allocations: 0.8355 MB / 369.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.02848, allocations: 304.1 kB / 370.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.0286, allocations: 96.38 kB / 370.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.03, allocations: 1.553 MB / 371.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.03003, allocations: 16.11 kB / 371.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.0301, allocations: 51.92 kB / 371.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.03017, allocations: 49.98 kB / 371.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.03096, allocations: 0.546 MB / 372.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.03551, allocations: 7.309 MB / 379.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/0.03635, allocations: 481.9 kB / 380.2 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.03662, allocations: 218.7 kB / 380.4 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.03772, allocations: 0.9508 MB / 381.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.03775, allocations: 42.05 kB / 381.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 1.593e-06/0.03775, allocations: 0 / 381.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.003149/0.0409, allocations: 1.911 MB / 383.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.04096, allocations: 141.5 kB / 383.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.04161, allocations: 0.8832 MB / 384.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.04165, allocations: 37.7 kB / 384.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.04196, allocations: 0.6664 MB / 385 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.04226, allocations: 305.5 kB / 385.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.04249, allocations: 268.4 kB / 385.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.04262, allocations: 0.5316 MB / 386.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.0429, allocations: 182.5 kB / 386.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.0435, allocations: 0.9936 MB / 387.3 MB, free: 8.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.04471, allocations: 1.34 MB / 388.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.04472, allocations: 4 kB / 388.6 MB, free: 7.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001419/0.04614, allocations: 1.168 MB / 389.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.04617, allocations: 16.03 kB / 389.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.04618, allocations: 16 kB / 389.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.0467, allocations: 262.8 kB / 390.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.04724, allocations: 275.5 kB / 390.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.04951, allocations: 4.903 MB / 395.2 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.04987, allocations: 47.98 kB / 395.3 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.04993, allocations: 64 kB / 395.3 MB, free: 12 kB / 314.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: 74 * 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 (152): * Single equations (assignments): 149 * 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.0003121/0.05024, allocations: 261.3 kB / 395.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.05038, allocations: 147.4 kB / 395.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.0521, allocations: 1.085 MB / 396.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.05212, allocations: 16 kB / 396.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.05212, allocations: 0 / 396.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.05214, allocations: 3.984 kB / 396.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.05467, allocations: 1.675 MB / 398.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.05468, allocations: 4 kB / 398.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.0551, allocations: 155.8 kB / 398.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.0555, allocations: 239 kB / 398.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.05555, allocations: 31.86 kB / 398.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.05805, allocations: 4.867 MB / 403.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.05806, allocations: 3.938 kB / 403.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.05954, allocations: 1.179 MB / 405 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.05986, allocations: 199 kB / 405.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.05994, allocations: 20 kB / 405.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.06022, allocations: 31.98 kB / 405.2 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.06036, allocations: 84.84 kB / 405.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.06041, allocations: 39.97 kB / 405.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004952/0.06091, allocations: 0.5057 MB / 405.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.06091, allocations: 7.938 kB / 405.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008958/0.0618, allocations: 311.9 kB / 406.2 MB, free: 4.707 MB / 330.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.0003431/0.06215, allocations: 215 kB / 406.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.06345, allocations: 1.064 MB / 407.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.06346, allocations: 256 / 407.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.06408, allocations: 0.694 MB / 408.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.06519, allocations: 462.4 kB / 408.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.06816, allocations: 2.096 MB / 410.7 MB, free: 68 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1191/0.1872, allocations: 250.2 kB / 410.9 MB, free: 67.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008291/0.188, allocations: 271.4 kB / 411.2 MB, free: 67.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.1883, allocations: 106.3 kB / 411.3 MB, free: 67.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.1883, allocations: 0 / 411.3 MB, free: 67.96 MB / 330.7 MB Notification: Performance of Templates: time 0.02425/0.2125, allocations: 19.62 MB / 430.9 MB, free: 58.31 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.576791988220066]