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.001371/0.001371, allocations: 92.7 kB / 19.44 MB, free: 320 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.001612/0.001612, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.06588/0.06588, allocations: 8.618 MB / 268.2 MB, free: 4.934 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.653e-06/1.653e-06, allocations: 0 / 341.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.087e-05, allocations: 4.703 kB / 341.4 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.03148/0.03151, allocations: 23.06 MB / 364.4 MB, free: 352 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.04401, allocations: 6.341 MB / 370.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.04539, allocations: 75.25 kB / 370.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.04705, allocations: 436.7 kB / 371.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.05097, allocations: 1.215 MB / 372.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.05552, allocations: 1.379 MB / 373.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005271/0.06079, allocations: 2.694 MB / 376.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.06262, allocations: 0.7117 MB / 377.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.06683, allocations: 1.453 MB / 378.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.06889, allocations: 0.8374 MB / 379.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.06934, allocations: 104 kB / 379.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.07095, allocations: 427.2 kB / 380.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007444/0.07169, allocations: 414.6 kB / 380.5 MB, free: 224 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.07288, allocations: 458.8 kB / 380.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.07646, allocations: 1.737 MB / 382.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.07646, allocations: 0 / 382.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07646, allocations: 3.938 kB / 382.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.871e-05/0.07653, allocations: 0 / 382.7 MB, free: 14.02 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.004871/0.0814, allocations: 1.578 MB / 384.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.08145, allocations: 8.031 kB / 384.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009187/0.08237, allocations: 259.8 kB / 384.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.08453, allocations: 0.8444 MB / 385.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.08488, allocations: 304.2 kB / 385.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.08513, allocations: 96.38 kB / 385.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.08834, allocations: 1.766 MB / 387.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.08838, allocations: 12.12 kB / 387.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.08853, allocations: 47.94 kB / 387.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.169e-05/0.08862, allocations: 57.92 kB / 387.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.09124, allocations: 1.065 MB / 388.7 MB, free: 7.656 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.1015, allocations: 6.021 MB / 394.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.1034, allocations: 0.7397 MB / 395.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.1042, allocations: 419.8 kB / 395.9 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/0.1067, allocations: 1.044 MB / 396.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.1068, allocations: 43.22 kB / 396.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.1068, allocations: 8 kB / 396.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.008049/0.1148, allocations: 2.824 MB / 399.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.1149, allocations: 141.5 kB / 399.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.1164, allocations: 0.8925 MB / 400.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.1165, allocations: 45.64 kB / 400.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.1171, allocations: 0.6168 MB / 401.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.1175, allocations: 309.4 kB / 401.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/0.1179, allocations: 250.8 kB / 402 MB, free: 9.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.1181, allocations: 353.9 kB / 402.4 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.119, allocations: 426.4 kB / 402.8 MB, free: 9.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.1205, allocations: 0.9957 MB / 403.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.1331, allocations: 3.045 MB / 406.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.1331, allocations: 8 kB / 406.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003626/0.1367, allocations: 1.667 MB / 408.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.1368, allocations: 16.25 kB / 408.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.1368, allocations: 19.94 kB / 408.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.1378, allocations: 366.2 kB / 408.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.1389, allocations: 283.5 kB / 409.2 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1366/0.2756, allocations: 4.042 MB / 413.2 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.2766, allocations: 48 kB / 413.2 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.2768, allocations: 66.45 kB / 413.3 MB, free: 77.33 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.0007592/0.2776, allocations: 349.6 kB / 413.7 MB, free: 77.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.2779, allocations: 140.5 kB / 413.8 MB, free: 77.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.2811, allocations: 1.516 MB / 415.3 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.2811, allocations: 11.48 kB / 415.3 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2811, allocations: 0 / 415.3 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.2811, allocations: 8.344 kB / 415.3 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.2853, allocations: 2.162 MB / 417.5 MB, free: 76.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.2853, allocations: 2.656 kB / 417.5 MB, free: 76.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/0.2862, allocations: 164.2 kB / 417.7 MB, free: 76.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/0.287, allocations: 346.6 kB / 418 MB, free: 76.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.14e-05/0.2871, allocations: 27.89 kB / 418 MB, free: 76.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.29, allocations: 4.029 MB / 422 MB, free: 72.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.29, allocations: 5.594 kB / 422.1 MB, free: 72.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.2935, allocations: 1.959 MB / 424 MB, free: 71.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.294, allocations: 202 kB / 424.2 MB, free: 71.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.2942, allocations: 22.86 kB / 424.2 MB, free: 71.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.2949, allocations: 33.58 kB / 424.3 MB, free: 71.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.2951, allocations: 93.19 kB / 424.4 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/0.2952, allocations: 38.94 kB / 424.4 MB, free: 71.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006853/0.2958, allocations: 0.5608 MB / 425 MB, free: 71.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2958, allocations: 0 / 425 MB, free: 71.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001371/0.2972, allocations: 344.3 kB / 425.3 MB, free: 71.6 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.0004933/0.2977, allocations: 287.8 kB / 425.6 MB, free: 71.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.2999, allocations: 1.338 MB / 426.9 MB, free: 70.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.2999, allocations: 5.688 kB / 426.9 MB, free: 70.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3011, allocations: 0.7805 MB / 427.7 MB, free: 70.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.3032, allocations: 466.9 kB / 428.2 MB, free: 69.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.3069, allocations: 2.307 MB / 430.5 MB, free: 67.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.3074, allocations: 0.5565 MB / 431 MB, free: 66.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000933/0.3083, allocations: 294.1 kB / 431.3 MB, free: 66.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3086, allocations: 108.4 kB / 431.4 MB, free: 66.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3086, allocations: 4 kB / 431.4 MB, free: 66.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03118/0.3398, allocations: 20.85 MB / 452.3 MB, free: 46.13 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.436415818985552]