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.001014/0.001014, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009873/0.0009873, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9924/0.9924, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.03813/0.03813, allocations: 8.617 MB / 268.9 MB, free: 4.996 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.663e-06/1.663e-06, allocations: 0 / 342.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.561e-05, allocations: 6.25 kB / 342.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.01796/0.01797, allocations: 25.82 MB / 367.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.02501, allocations: 6.971 MB / 374.9 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.02553, allocations: 71.31 kB / 375 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.02649, allocations: 436.7 kB / 375.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.02811, allocations: 1.223 MB / 376.6 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.03012, allocations: 1.375 MB / 378 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.03229, allocations: 2.678 MB / 380.7 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.03284, allocations: 0.7351 MB / 381.4 MB, free: 20 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.03436, allocations: 1.445 MB / 382.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.03507, allocations: 0.8412 MB / 383.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.03518, allocations: 100 kB / 383.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.03574, allocations: 431.1 kB / 384.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.03601, allocations: 414.6 kB / 384.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.03634, allocations: 458.8 kB / 385.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.03747, allocations: 1.339 MB / 386.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.03747, allocations: 0 / 386.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.03748, allocations: 0 / 386.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.03748, allocations: 0 / 386.4 MB, free: 11.01 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.001809/0.03929, allocations: 1.686 MB / 388.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.03933, allocations: 16.03 kB / 388.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.03968, allocations: 267.7 kB / 388.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.04057, allocations: 0.8277 MB / 389.2 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.04072, allocations: 296.2 kB / 389.5 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.04111, allocations: 104.3 kB / 389.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.04236, allocations: 1.549 MB / 391.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.04239, allocations: 8.125 kB / 391.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.04246, allocations: 47.94 kB / 391.2 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.04251, allocations: 57.97 kB / 391.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.04326, allocations: 0.5342 MB / 391.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.0477, allocations: 7.329 MB / 399.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.04847, allocations: 484.9 kB / 399.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.04876, allocations: 219.6 kB / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.04986, allocations: 0.9623 MB / 400.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.0499, allocations: 53.92 kB / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.0499, allocations: 0 / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.003061/0.05296, allocations: 1.915 MB / 402.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.05302, allocations: 145.5 kB / 402.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.05365, allocations: 0.8715 MB / 403.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.05395, allocations: 41.7 kB / 403.8 MB, free: 8.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.05428, allocations: 0.6663 MB / 404.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.05445, allocations: 309.5 kB / 404.8 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.05468, allocations: 264.4 kB / 405 MB, free: 7.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.05482, allocations: 0.5277 MB / 405.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.05511, allocations: 190.5 kB / 405.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.05573, allocations: 0.9975 MB / 406.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.05693, allocations: 1.333 MB / 408.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.05694, allocations: 8 kB / 408.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001363/0.0583, allocations: 1.172 MB / 409.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.05832, allocations: 12 kB / 409.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.05833, allocations: 16 kB / 409.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.05878, allocations: 267.3 kB / 409.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.05929, allocations: 279.5 kB / 409.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1191/0.1783, allocations: 4.893 MB / 414.7 MB, free: 75.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.1791, allocations: 49.8 kB / 414.7 MB, free: 75.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.653e-05/0.1792, allocations: 65.58 kB / 414.8 MB, free: 75.04 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.000421/0.1796, allocations: 270.4 kB / 415.1 MB, free: 74.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.1798, allocations: 148.6 kB / 415.2 MB, free: 74.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.1817, allocations: 1.098 MB / 416.3 MB, free: 74.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.1817, allocations: 13.25 kB / 416.3 MB, free: 74.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1817, allocations: 0 / 416.3 MB, free: 74.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1817, allocations: 9.422 kB / 416.3 MB, free: 74.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.1841, allocations: 1.647 MB / 418 MB, free: 74.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1841, allocations: 3.406 kB / 418 MB, free: 74.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.1846, allocations: 162.9 kB / 418.2 MB, free: 74.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.1851, allocations: 243.8 kB / 418.4 MB, free: 74.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.1852, allocations: 21.66 kB / 418.4 MB, free: 74.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.1869, allocations: 4.884 MB / 423.3 MB, free: 69.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1869, allocations: 1.375 kB / 423.3 MB, free: 69.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.1887, allocations: 1.225 MB / 424.5 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.189, allocations: 201.4 kB / 424.7 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1891, allocations: 22.88 kB / 424.7 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.1894, allocations: 30.11 kB / 424.8 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.1896, allocations: 85.45 kB / 424.9 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.1897, allocations: 42.12 kB / 424.9 MB, free: 69.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005319/0.1902, allocations: 0.504 MB / 425.4 MB, free: 69.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1902, allocations: 0 / 425.4 MB, free: 69.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001026/0.1913, allocations: 354.8 kB / 425.7 MB, free: 69.03 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.0003268/0.1916, allocations: 277 kB / 426 MB, free: 68.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1926, allocations: 1.085 MB / 427.1 MB, free: 68.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1926, allocations: 0 / 427.1 MB, free: 68.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.1931, allocations: 0.7045 MB / 427.8 MB, free: 67.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1941, allocations: 464 kB / 428.3 MB, free: 67.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1965, allocations: 2.096 MB / 430.4 MB, free: 66.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.1967, allocations: 251.7 kB / 430.6 MB, free: 66.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.1971, allocations: 275.8 kB / 430.9 MB, free: 66.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1973, allocations: 103.1 kB / 431 MB, free: 66.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1973, allocations: 4 kB / 431 MB, free: 66.38 MB / 330.7 MB Notification: Performance of Templates: time 0.01907/0.2163, allocations: 20.88 MB / 451.9 MB, free: 45.97 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.530674678971991]