Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.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.001722/0.001722, allocations: 93.47 kB / 19.44 MB, free: 336 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.00244/0.00244, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.67/1.67, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.07435/0.07435, allocations: 8.617 MB / 268.2 MB, free: 4.941 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.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") translateModel(IndustrialControlSystems.Applications.ProcessControl.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 341.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.62e-05, allocations: 8.641 kB / 341.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.LevelControl): time 0.02521/0.02523, allocations: 22.53 MB / 363.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.03684, allocations: 6.698 MB / 370.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.03824, allocations: 55.5 kB / 370.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.03949, allocations: 405.1 kB / 371 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.04308, allocations: 1.153 MB / 372.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.04647, allocations: 1.242 MB / 373.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.04992, allocations: 2.49 MB / 375.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.05104, allocations: 0.6473 MB / 376.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.05338, allocations: 1.336 MB / 377.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.05481, allocations: 0.7907 MB / 378.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.05517, allocations: 92 kB / 378.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.05647, allocations: 459.1 kB / 379.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.05695, allocations: 398.7 kB / 379.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.05759, allocations: 431 kB / 380 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.06018, allocations: 1.682 MB / 381.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.06018, allocations: 0 / 381.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.06018, allocations: 0 / 381.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.0602, allocations: 0 / 381.7 MB, free: 14.98 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003303/0.0635, allocations: 1.606 MB / 383.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.06354, allocations: 8.031 kB / 383.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.06417, allocations: 239.9 kB / 383.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.06568, allocations: 0.7189 MB / 384.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.06605, allocations: 343.6 kB / 384.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.06622, allocations: 92.36 kB / 384.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.06886, allocations: 1.682 MB / 386.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.06889, allocations: 8.125 kB / 386.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.06901, allocations: 47.86 kB / 386.4 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.019e-05/0.06909, allocations: 53.97 kB / 386.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.07071, allocations: 0.6867 MB / 387.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/0.07904, allocations: 6.332 MB / 393.5 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.08033, allocations: 0.5629 MB / 394.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.08092, allocations: 273.6 kB / 394.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/0.08308, allocations: 0.987 MB / 395.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.08435, allocations: 0.8451 MB / 396.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.184e-06/0.08435, allocations: 0 / 396.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.006585/0.09094, allocations: 2.223 MB / 398.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.09113, allocations: 251.9 kB / 398.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.09243, allocations: 0.9481 MB / 399.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.09251, allocations: 45.7 kB / 399.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.09323, allocations: 0.6195 MB / 400.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.09354, allocations: 285.8 kB / 400.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/0.09398, allocations: 284.4 kB / 400.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004457/0.09443, allocations: 0.6328 MB / 401.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.09509, allocations: 266.5 kB / 401.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.09666, allocations: 1.192 MB / 402.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.09926, allocations: 1.556 MB / 404.5 MB, free: 6.664 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.09927, allocations: 4 kB / 404.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003104/0.1024, allocations: 1.335 MB / 405.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.1024, allocations: 12 kB / 405.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.1024, allocations: 16 kB / 405.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008954/0.1033, allocations: 287.4 kB / 406.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.1042, allocations: 255.5 kB / 406.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1684/0.2726, allocations: 5.093 MB / 411.4 MB, free: 76.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.2738, allocations: 51.31 kB / 411.5 MB, free: 76.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2739, allocations: 64.19 kB / 411.6 MB, free: 76.78 MB / 330.7 MB Warning: Assuming fixed start value for the following 8 variables: PI_Level.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real PI_Level.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real sub.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer 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 PI_Level.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real div.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 27 (PI_Level.FBout,$PRE.PI_Level.FBout,$PRE.PI_Level.cs,PI_Level.cs,$PRE.PI_Level.satin,PI_Level.satin,$whenCondition1,$PRE.sub.Yfp,sub.Yfp,div.U1fp,$PRE.PI_Level.CS,sub.U1fp,tank.inFlow[3],tank.inFlow[2],tank.inFlow[1],tank.regularFlow[3],tank.regularFlow[2],tank.regularFlow[1],PI_Level.CS,PI_Level.TS_in,$PRE.div.Yfp,div.U2fp,div.Yfp,sub.U2fp,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 (139): * Single equations (assignments): 136 * 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.0006941/0.2746, allocations: 342.3 kB / 411.9 MB, free: 76.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.2749, allocations: 131.1 kB / 412 MB, free: 76.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2776, allocations: 1.255 MB / 413.3 MB, free: 76.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.2776, allocations: 8.594 kB / 413.3 MB, free: 76.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2776, allocations: 1 kB / 413.3 MB, free: 76.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.2777, allocations: 6.828 kB / 413.3 MB, free: 76.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.2813, allocations: 1.952 MB / 415.2 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2813, allocations: 2.719 kB / 415.2 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.2819, allocations: 117.3 kB / 415.4 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/0.2826, allocations: 272.7 kB / 415.6 MB, free: 76.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.2826, allocations: 26.44 kB / 415.7 MB, free: 76.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.2854, allocations: 5.073 MB / 420.7 MB, free: 71.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2854, allocations: 2.062 kB / 420.7 MB, free: 71.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.2885, allocations: 1.514 MB / 422.2 MB, free: 70.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.2891, allocations: 186.4 kB / 422.4 MB, free: 70.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.2893, allocations: 20.66 kB / 422.4 MB, free: 70.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.2898, allocations: 35.16 kB / 422.5 MB, free: 70.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.29, allocations: 90.77 kB / 422.6 MB, free: 70.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.2901, allocations: 39.09 kB / 422.6 MB, free: 70.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007678/0.2909, allocations: 0.552 MB / 423.2 MB, free: 70.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2909, allocations: 0 / 423.2 MB, free: 70.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00131/0.2922, allocations: 344.4 kB / 423.5 MB, free: 70.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (tank.level,tank.medium.T,actuator.y) * Number of discrete variables: 15 ($whenCondition1,PI_Level.CS,PI_Level.FBout,PI_Level.cs,PI_Level.satin,tank.regularFlow[1],tank.regularFlow[2],tank.regularFlow[3],tank.inFlow[1],tank.inFlow[2],tank.inFlow[3],div.U1fp,div.Yfp,sub.U1fp,sub.Yfp) * Number of discrete states: 2 (PI_Level.FBout,PI_Level.cs) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 6 * 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.0004841/0.2927, allocations: 296.7 kB / 423.8 MB, free: 70.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.2947, allocations: 1.245 MB / 425 MB, free: 69.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2947, allocations: 0.5469 kB / 425 MB, free: 69.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2958, allocations: 0.759 MB / 425.8 MB, free: 69.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.2977, allocations: 455.2 kB / 426.2 MB, free: 69.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3003, allocations: 1.865 MB / 428.1 MB, free: 68.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3006, allocations: 484.2 kB / 428.6 MB, free: 67.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007421/0.3014, allocations: 257 kB / 428.8 MB, free: 67.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3016, allocations: 100.5 kB / 428.9 MB, free: 67.45 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3016, allocations: 0 / 428.9 MB, free: 67.45 MB / 330.7 MB Notification: Performance of Templates: time 0.02959/0.3311, allocations: 21.16 MB / 450.1 MB, free: 46.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.97341434599366]