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.001358/0.001358, allocations: 88.72 kB / 19.44 MB, free: 352 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.001509/0.001509, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.478/1.478, 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.06565/0.06565, allocations: 8.608 MB / 268.2 MB, free: 4.938 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.793e-06/1.793e-06, allocations: 0 / 341.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.365e-05, allocations: 4.844 kB / 341.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.LevelControl): time 0.02554/0.02556, allocations: 20.24 MB / 361.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.03831, allocations: 6.059 MB / 367.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.03964, allocations: 55.5 kB / 367.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.04133, allocations: 401.1 kB / 368.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.04525, allocations: 1.165 MB / 369.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.04947, allocations: 1.231 MB / 370.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.05379, allocations: 2.486 MB / 373 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.05549, allocations: 0.6551 MB / 373.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.06009, allocations: 1.332 MB / 374.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.0621, allocations: 0.7985 MB / 375.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.06248, allocations: 92 kB / 375.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.06416, allocations: 459.1 kB / 376.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007528/0.06491, allocations: 386.7 kB / 376.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.06605, allocations: 427 kB / 377.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.06968, allocations: 1.682 MB / 378.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.06968, allocations: 0 / 378.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.06969, allocations: 4 kB / 378.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.607e-05/0.06974, allocations: 0 / 378.8 MB, free: 1.926 MB / 298.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.004126/0.07387, allocations: 1.436 MB / 380.2 MB, free: 460 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.07391, allocations: 8.031 kB / 380.2 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/0.07471, allocations: 231.9 kB / 380.4 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.07645, allocations: 0.7317 MB / 381.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.07688, allocations: 355.5 kB / 381.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.07709, allocations: 88.38 kB / 381.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.08012, allocations: 1.738 MB / 383.3 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.08016, allocations: 12.06 kB / 383.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.0803, allocations: 47.91 kB / 383.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.293e-05/0.08039, allocations: 49.98 kB / 383.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.08273, allocations: 0.9989 MB / 384.4 MB, free: 11.89 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.008798/0.09153, allocations: 5.033 MB / 389.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.09316, allocations: 0.6918 MB / 390.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/0.09397, allocations: 358.6 kB / 390.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.09637, allocations: 0.9868 MB / 391.5 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.09805, allocations: 0.8748 MB / 392.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.625e-06/0.09805, allocations: 0 / 392.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=76): time 0.007959/0.106, allocations: 2.706 MB / 395.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/0.1062, allocations: 244 kB / 395.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.1076, allocations: 0.7936 MB / 396.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1077, allocations: 45.7 kB / 396.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.1083, allocations: 0.5426 MB / 396.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.1086, allocations: 265.8 kB / 397 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.1091, allocations: 234.8 kB / 397.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.1094, allocations: 410.7 kB / 397.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/0.1103, allocations: 398.4 kB / 398 MB, free: 13.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.1123, allocations: 1.071 MB / 399.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.1243, allocations: 2.862 MB / 401.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/0.1244, allocations: 8 kB / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004032/0.1284, allocations: 1.624 MB / 403.6 MB, free: 7.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.1284, allocations: 12 kB / 403.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.1284, allocations: 16 kB / 403.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.1295, allocations: 362.5 kB / 403.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.1304, allocations: 255.5 kB / 404.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/0.1355, allocations: 4.052 MB / 408.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.1366, allocations: 60.02 kB / 408.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.1368, allocations: 67.98 kB / 408.4 MB, free: 2.797 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.0008335/0.1376, allocations: 342.1 kB / 408.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.138, allocations: 127.3 kB / 408.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.1415, allocations: 1.434 MB / 410.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1415, allocations: 8 kB / 410.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1415, allocations: 0 / 410.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.1416, allocations: 7.922 kB / 410.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1364/0.278, allocations: 2.089 MB / 412.4 MB, free: 79.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.278, allocations: 3.906 kB / 412.4 MB, free: 79.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.2785, allocations: 128.2 kB / 412.5 MB, free: 79.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.2794, allocations: 338.8 kB / 412.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.2794, allocations: 26.36 kB / 412.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.2824, allocations: 4.024 MB / 416.9 MB, free: 75.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2824, allocations: 1.438 kB / 416.9 MB, free: 75.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.2859, allocations: 1.875 MB / 418.7 MB, free: 75.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.2865, allocations: 191.6 kB / 418.9 MB, free: 75.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.2867, allocations: 24.7 kB / 419 MB, free: 75.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.2874, allocations: 42.89 kB / 419 MB, free: 75.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.2877, allocations: 87.62 kB / 419.1 MB, free: 75.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/0.2878, allocations: 36.14 kB / 419.1 MB, free: 75.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008064/0.2886, allocations: 0.5086 MB / 419.6 MB, free: 75.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2886, allocations: 1.719 kB / 419.6 MB, free: 75.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001458/0.29, allocations: 345.8 kB / 420 MB, free: 75.05 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.0005764/0.2906, allocations: 297.3 kB / 420.3 MB, free: 74.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.2931, allocations: 1.284 MB / 421.5 MB, free: 74.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2931, allocations: 3.875 kB / 421.5 MB, free: 74.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.2943, allocations: 0.7495 MB / 422.3 MB, free: 74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.2961, allocations: 436.2 kB / 422.7 MB, free: 73.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.2988, allocations: 1.987 MB / 424.7 MB, free: 72.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.2992, allocations: 496.9 kB / 425.2 MB, free: 72.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000776/0.3, allocations: 284.3 kB / 425.5 MB, free: 72.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3002, allocations: 91.53 kB / 425.6 MB, free: 72.65 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3002, allocations: 0 / 425.6 MB, free: 72.65 MB / 330.7 MB Notification: Performance of Templates: time 0.0274/0.3276, allocations: 21.15 MB / 446.7 MB, free: 52.03 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.623580532963388]