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.001794/0.001794, allocations: 85.48 kB / 19.44 MB, free: 344 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.001954/0.001954, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.07317/0.07317, allocations: 8.608 MB / 268.2 MB, free: 4.965 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.052e-06/1.052e-06, allocations: 0 / 341.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.648e-05, allocations: 4.844 kB / 341.4 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.02891/0.02893, allocations: 25.72 MB / 367.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.0415, allocations: 6.984 MB / 374.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.04285, allocations: 71.25 kB / 374.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.04406, allocations: 440.7 kB / 374.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.04726, allocations: 1.219 MB / 375.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.051, allocations: 1.375 MB / 377.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004037/0.05503, allocations: 2.686 MB / 379.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.05631, allocations: 0.7234 MB / 380.6 MB, free: 136 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.05889, allocations: 1.453 MB / 382 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.06038, allocations: 0.8412 MB / 382.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.0606, allocations: 100 kB / 383 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.06177, allocations: 423.1 kB / 383.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.06229, allocations: 422.6 kB / 383.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.06298, allocations: 458.8 kB / 384.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.06571, allocations: 1.741 MB / 386 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.06571, allocations: 4 kB / 386 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.06572, allocations: 0 / 386 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.06573, allocations: 3.938 kB / 386 MB, free: 10.7 MB / 314.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.003615/0.06935, allocations: 1.756 MB / 387.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.06939, allocations: 8.031 kB / 387.8 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.07003, allocations: 259.8 kB / 388 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.07172, allocations: 0.8394 MB / 388.8 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.07201, allocations: 304.1 kB / 389.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.0722, allocations: 100.4 kB / 389.2 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.07477, allocations: 1.735 MB / 391 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.0748, allocations: 8.125 kB / 391 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.07492, allocations: 47.92 kB / 391 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.07503, allocations: 57.97 kB / 391.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.07677, allocations: 0.7608 MB / 391.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.08813, allocations: 7.755 MB / 399.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.08979, allocations: 0.6034 MB / 400.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/0.09068, allocations: 306.7 kB / 400.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002748/0.09343, allocations: 1.045 MB / 401.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.09348, allocations: 54.05 kB / 401.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.484e-06/0.09348, allocations: 0 / 401.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.006795/0.1003, allocations: 2.34 MB / 403.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.1004, allocations: 141.5 kB / 404.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.1019, allocations: 1.075 MB / 405.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.102, allocations: 45.7 kB / 405.2 MB, free: 6.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/0.1026, allocations: 0.7054 MB / 405.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.103, allocations: 317.5 kB / 406.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.1035, allocations: 300.4 kB / 406.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003891/0.1039, allocations: 0.5629 MB / 407.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.1045, allocations: 286.5 kB / 407.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.1062, allocations: 1.122 MB / 408.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.1092, allocations: 1.665 MB / 410.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.1092, allocations: 4 kB / 410.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.166/0.2752, allocations: 1.384 MB / 411.5 MB, free: 78.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.2752, allocations: 14.38 kB / 411.5 MB, free: 78.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.2752, allocations: 16.88 kB / 411.6 MB, free: 78.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008417/0.2761, allocations: 293.7 kB / 411.8 MB, free: 78.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.2771, allocations: 273.8 kB / 412.1 MB, free: 78.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.2798, allocations: 5.094 MB / 417.2 MB, free: 73.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.2808, allocations: 46.39 kB / 417.3 MB, free: 73.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.2809, allocations: 67.91 kB / 417.3 MB, free: 73.55 MB / 330.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.000648/0.2816, allocations: 337.6 kB / 417.6 MB, free: 73.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.2819, allocations: 146.5 kB / 417.8 MB, free: 73.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.2847, allocations: 1.335 MB / 419.1 MB, free: 73.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.2848, allocations: 14.06 kB / 419.1 MB, free: 73.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2848, allocations: 0 / 419.1 MB, free: 73.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2848, allocations: 5.438 kB / 419.1 MB, free: 73.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.2886, allocations: 2.037 MB / 421.2 MB, free: 72.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2886, allocations: 6.438 kB / 421.2 MB, free: 72.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.2894, allocations: 159.7 kB / 421.3 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/0.2901, allocations: 270.5 kB / 421.6 MB, free: 72.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.2901, allocations: 28.52 kB / 421.6 MB, free: 72.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.2927, allocations: 5.07 MB / 426.7 MB, free: 67.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2927, allocations: 6.719 kB / 426.7 MB, free: 67.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.2954, allocations: 1.592 MB / 428.3 MB, free: 67.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.296, allocations: 196 kB / 428.5 MB, free: 67.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.2961, allocations: 17.53 kB / 428.5 MB, free: 67.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.2967, allocations: 34.34 kB / 428.5 MB, free: 67.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.2969, allocations: 89.78 kB / 428.6 MB, free: 67.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.297, allocations: 40.36 kB / 428.7 MB, free: 67.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007011/0.2977, allocations: 0.6158 MB / 429.3 MB, free: 66.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2977, allocations: 0 / 429.3 MB, free: 66.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001318/0.299, allocations: 348.9 kB / 429.6 MB, free: 66.8 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 (83): * Single equations (assignments): 78 * 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.0004377/0.2994, allocations: 274.2 kB / 429.9 MB, free: 66.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.3015, allocations: 1.309 MB / 431.2 MB, free: 66.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3015, allocations: 0 / 431.2 MB, free: 66.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3026, allocations: 0.7986 MB / 432 MB, free: 65.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.3045, allocations: 458 kB / 432.5 MB, free: 65.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.3078, allocations: 2.197 MB / 434.6 MB, free: 62.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3082, allocations: 0.5348 MB / 435.2 MB, free: 62.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.309, allocations: 287 kB / 435.5 MB, free: 62.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3092, allocations: 104.5 kB / 435.6 MB, free: 61.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.3092, allocations: 0 / 435.6 MB, free: 61.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02909/0.3383, allocations: 20.88 MB / 456.4 MB, free: 41.5 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: 5.66146596998442]