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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 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.0633/0.0633, allocations: 11.33 MB / 315.8 MB, free: 372 kB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001978/0.001978, allocations: 63.89 kB / 441.9 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3228, allocations: 54.81 MB / 496.7 MB, free: 24.63 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.0292/0.352, allocations: 25.5 MB / 0.5099 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.366, allocations: 6.906 MB / 0.5167 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.3679, allocations: 50.75 kB / 0.5167 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.3696, allocations: 449.3 kB / 0.5171 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.3731, allocations: 1.157 MB / 0.5183 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.377, allocations: 1.333 MB / 0.5196 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.3811, allocations: 2.655 MB / 0.5222 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3823, allocations: 0.6873 MB / 0.5228 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.3846, allocations: 1.09 MB / 0.5239 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.3863, allocations: 0.9687 MB / 0.5249 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3865, allocations: 100 kB / 0.5249 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3879, allocations: 471.3 kB / 0.5254 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.3883, allocations: 398.6 kB / 0.5258 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.3891, allocations: 0.6529 MB / 0.5264 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.3918, allocations: 1.673 MB / 0.528 GB, free: 3.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3918, allocations: 0 / 0.528 GB, free: 3.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3918, allocations: 4 kB / 0.5281 GB, free: 3.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.097e-05/0.3919, allocations: 0 / 0.5281 GB, free: 3.59 MB / 382.1 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.003448/0.3953, allocations: 1.658 MB / 0.5297 GB, free: 1.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3953, allocations: 12.03 kB / 0.5297 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.3958, allocations: 167.9 kB / 0.5298 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3973, allocations: 0.886 MB / 0.5307 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3975, allocations: 223 kB / 0.5309 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.3976, allocations: 92.31 kB / 0.531 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.3999, allocations: 1.393 MB / 0.5324 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.3999, allocations: 3.938 kB / 0.5324 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.4, allocations: 47.91 kB / 0.5324 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.4001, allocations: 53.98 kB / 0.5325 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.402, allocations: 1.069 MB / 0.5335 GB, free: 13.73 MB / 398.1 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.008763/0.4108, allocations: 7.121 MB / 0.5405 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.4125, allocations: 0.7418 MB / 0.5412 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.4132, allocations: 415.5 kB / 0.5416 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002917/0.4161, allocations: 2.312 MB / 0.5438 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.4162, allocations: 47.2 kB / 0.5439 GB, free: 2.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.4162, allocations: 0 / 0.5439 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.007226/0.4234, allocations: 3.117 MB / 0.5469 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4235, allocations: 141.5 kB / 0.5471 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.4249, allocations: 0.9354 MB / 0.548 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.425, allocations: 41.7 kB / 0.548 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.4256, allocations: 0.6129 MB / 0.5486 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.4259, allocations: 297.5 kB / 0.5489 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.4263, allocations: 266.7 kB / 0.5492 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4265, allocations: 361.9 kB / 0.5495 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/0.4272, allocations: 426.3 kB / 0.5499 GB, free: 12.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.4285, allocations: 0.9204 MB / 0.5508 GB, free: 10.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.4401, allocations: 3.037 MB / 0.5538 GB, free: 7.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.4401, allocations: 8 kB / 0.5538 GB, free: 7.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003334/0.4435, allocations: 1.62 MB / 0.5554 GB, free: 5.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.4435, allocations: 12 kB / 0.5554 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.4435, allocations: 19.94 kB / 0.5554 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009244/0.4444, allocations: 362.5 kB / 0.5557 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.4454, allocations: 279.5 kB / 0.556 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.4496, allocations: 4.301 MB / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/0.4505, allocations: 47.98 kB / 0.5603 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4507, allocations: 60 kB / 0.5603 GB, free: 0.6133 MB / 414.1 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.0007016/0.4514, allocations: 349.4 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.4516, allocations: 123.2 kB / 0.5608 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.4548, allocations: 1.522 MB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4548, allocations: 8 kB / 0.5623 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4548, allocations: 0 / 0.5623 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.4548, allocations: 11.92 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.4589, allocations: 2.42 MB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4589, allocations: 3.938 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/0.4597, allocations: 163.8 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008173/0.4605, allocations: 342.4 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.4606, allocations: 27.98 kB / 0.5651 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.4646, allocations: 4.29 MB / 0.5693 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4646, allocations: 3.938 kB / 0.5693 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.4683, allocations: 1.92 MB / 0.5712 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.4689, allocations: 296.1 kB / 0.5715 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.4691, allocations: 20 kB / 0.5715 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.4697, allocations: 43.84 kB / 0.5716 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4699, allocations: 80.89 kB / 0.5716 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.47, allocations: 39.97 kB / 0.5717 GB, free: 4.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009332/0.4709, allocations: 0.6333 MB / 0.5723 GB, free: 3.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4709, allocations: 0 / 0.5723 GB, free: 3.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001429/0.4723, allocations: 347.7 kB / 0.5726 GB, free: 3.527 MB / 430.1 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.000758/0.4731, allocations: 308.6 kB / 0.5729 GB, free: 3.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.4759, allocations: 1.341 MB / 0.5742 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4759, allocations: 4.031 kB / 0.5742 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.4773, allocations: 0.7727 MB / 0.575 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.4796, allocations: 0.5019 MB / 0.5755 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.484, allocations: 2.406 MB / 0.5778 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/0.4848, allocations: 1.137 MB / 0.5789 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.4858, allocations: 307.1 kB / 0.5792 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.4861, allocations: 115.3 kB / 0.5793 GB, free: 12.55 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4861, allocations: 0 / 0.5793 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Templates: time 0.04381/0.5299, allocations: 23.08 MB / 0.6019 GB, free: 5.637 MB / 462.1 MB " [Timeout remaining time 659] 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.93093881662935]