Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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.0008245/0.0008245, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0008863/0.0008863, allocations: 181 kB / 23.36 MB, free: 1.133 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.8827/0.8827, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03682/0.03682, allocations: 8.617 MB / 268.9 MB, free: 4.805 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.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 288 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.36e-05, allocations: 6.25 kB / 288 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.09725/0.09726, allocations: 3.935 MB / 292 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.09941, allocations: 1.894 MB / 293.9 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.09976, allocations: 101.3 kB / 294 MB, free: 16.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.09999, allocations: 185 kB / 294.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1003, allocations: 189.3 kB / 294.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1015, allocations: 0.9903 MB / 295.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1025, allocations: 1.642 MB / 297 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.1029, allocations: 318.7 kB / 297.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.1036, allocations: 0.9343 MB / 298.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.104, allocations: 434.5 kB / 298.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1041, allocations: 127.7 kB / 298.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1042, allocations: 127.9 kB / 298.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1044, allocations: 342.8 kB / 299.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.1046, allocations: 402.9 kB / 299.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.1053, allocations: 0.9384 MB / 300.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1053, allocations: 1.188 kB / 300.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1053, allocations: 1.375 kB / 300.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1053, allocations: 3.938 kB / 300.6 MB, free: 13.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.001459/0.1068, allocations: 1.727 MB / 302.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1068, allocations: 12.73 kB / 302.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.107, allocations: 207.3 kB / 302.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.1079, allocations: 0.9241 MB / 303.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/0.108, allocations: 306.2 kB / 303.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1081, allocations: 145.5 kB / 303.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.1089, allocations: 1.353 MB / 305.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.1089, allocations: 13.52 kB / 305.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.1089, allocations: 45.66 kB / 305.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.1089, allocations: 33.56 kB / 305.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.1094, allocations: 408.7 kB / 305.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.1117, allocations: 4.274 MB / 310 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1122, allocations: 0.5116 MB / 310.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.1124, allocations: 205.6 kB / 310.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.1124, allocations: 21.41 kB / 310.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1125, allocations: 48.67 kB / 310.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.205e-06/0.1125, allocations: 4 kB / 310.8 MB, free: 5.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.0005305/0.113, allocations: 0.5367 MB / 311.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.113, allocations: 380.8 kB / 311.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.1134, allocations: 0.94 MB / 312.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1134, allocations: 53.7 kB / 312.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1136, allocations: 0.4956 MB / 313.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1137, allocations: 408.5 kB / 313.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.1139, allocations: 303.3 kB / 313.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.037e-05/0.1139, allocations: 305.1 kB / 314.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.114, allocations: 139.9 kB / 314.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.1143, allocations: 0.9579 MB / 315.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.1147, allocations: 0.8511 MB / 316.1 MB, free: 36 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1147, allocations: 7.938 kB / 316.1 MB, free: 28 kB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0009685/0.1157, allocations: 0.8098 MB / 316.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1157, allocations: 12 kB / 316.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1157, allocations: 12 kB / 316.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1157, allocations: 23.98 kB / 317 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.1164, allocations: 348 kB / 317.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.1164, allocations: 31.86 kB / 317.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.1168, allocations: 147.1 kB / 317.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.1169, allocations: 51.98 kB / 317.5 MB, free: 14.6 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 32 (R_FO.ATreq_in,R_FO.satHIGH_in,R_FO.satLOW_in,R_FOD.ATreq_in,R_FOD.satHIGH_in,R_FOD.satLOW_in,R_i.ATreq_in,R_i.satHIGH_in,R_i.satLOW_in,R_iD.ATreq_in,R_iD.satHIGH_in,R_iD.satLOW_in,R_OS.ATreq_in,R_OS.satHIGH_in,R_OS.satLOW_in,R_US.ATreq_in,R_US.satHIGH_in,R_US.satLOW_in,R_Osc.ATreq_in,R_Osc.satHIGH_in,R_Osc.satLOW_in,R_FO.TS_in,R_FOD.TS_in,R_i.TS_in,R_iD.TS_in,R_OS.TS_in,R_US.TS_in,R_Osc.TS_in,R_FS.TS_in,R_FS.ATreq_in,R_FS.satHIGH_in,R_FS.satLOW_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.1171, allocations: 223.3 kB / 317.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1173, allocations: 103.9 kB / 317.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007157/0.118, allocations: 0.642 MB / 318.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.118, allocations: 21.94 kB / 318.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.118, allocations: 0 / 318.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.118, allocations: 3.984 kB / 318.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.1185, allocations: 0.6009 MB / 319.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1185, allocations: 0 / 319.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.1193, allocations: 291.7 kB / 319.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1193, allocations: 11.94 kB / 319.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.1194, allocations: 27.98 kB / 319.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1194, allocations: 8 kB / 319.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1194, allocations: 3.938 kB / 319.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.1201, allocations: 0.8404 MB / 320.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.1202, allocations: 143.4 kB / 320.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.1203, allocations: 31.98 kB / 320.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1205, allocations: 24 kB / 320.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.1206, allocations: 76.84 kB / 320.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1206, allocations: 28.73 kB / 320.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002718/0.1209, allocations: 438.6 kB / 321 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1209, allocations: 0 / 321 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.1213, allocations: 259.5 kB / 321.3 MB, free: 10.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001076/0.1214, allocations: 121.6 kB / 321.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.1219, allocations: 0.6166 MB / 322 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.1219, allocations: 16.56 kB / 322 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1221, allocations: 292.3 kB / 322.3 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1225, allocations: 156.1 kB / 322.5 MB, free: 9.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.1251, allocations: 2.574 MB / 325 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.1253, allocations: 256.9 kB / 325.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.1257, allocations: 184.1 kB / 325.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.126, allocations: 279.3 kB / 325.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.126, allocations: 0 / 325.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Templates: time 0.0138/0.1398, allocations: 9.673 MB / 335.4 MB, free: 12.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.771579233929515]