Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0009944/0.0009944, allocations: 104.4 kB / 19.71 MB, free: 436 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.0009566/0.0009566, allocations: 224.4 kB / 23.01 MB, free: 2.941 MB / 13.93 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.9453/0.9453, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.02888/0.02888, allocations: 7.617 MB / 320.8 MB, free: 10.66 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 73.55 kB / 445.7 MB, free: 41.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08822, allocations: 55.06 MB / 0.489 GB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003795/0.09201, allocations: 3.943 MB / 0.4929 GB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.09433, allocations: 2.102 MB / 0.4949 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.09471, allocations: 106.9 kB / 0.495 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.09497, allocations: 189.5 kB / 0.4952 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.09532, allocations: 182.1 kB / 0.4954 GB, free: 11.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.0966, allocations: 1.204 MB / 0.4966 GB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.09765, allocations: 1.87 MB / 0.4984 GB, free: 8.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.09801, allocations: 301.4 kB / 0.4987 GB, free: 8.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.09852, allocations: 0.79 MB / 0.4995 GB, free: 7.324 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.09897, allocations: 0.6212 MB / 0.5001 GB, free: 6.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.09911, allocations: 148 kB / 0.5002 GB, free: 6.555 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.09922, allocations: 144 kB / 0.5003 GB, free: 6.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.09939, allocations: 358.6 kB / 0.5007 GB, free: 6.062 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.09966, allocations: 0.5513 MB / 0.5012 GB, free: 5.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008532/0.1005, allocations: 1.505 MB / 0.5027 GB, free: 3.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1005, allocations: 3.984 kB / 0.5027 GB, free: 3.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1005, allocations: 0 / 0.5027 GB, free: 3.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1005, allocations: 0 / 0.5027 GB, free: 3.992 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002063/0.1026, allocations: 1.876 MB / 0.5045 GB, free: 2.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1026, allocations: 16.03 kB / 0.5045 GB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.1028, allocations: 195.7 kB / 0.5047 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1039, allocations: 0.9984 MB / 0.5057 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.104, allocations: 316.9 kB / 0.506 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.1041, allocations: 152.3 kB / 0.5062 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1055, allocations: 1.7 MB / 0.5078 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.1055, allocations: 11.92 kB / 0.5078 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.1056, allocations: 51.94 kB / 0.5079 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1056, allocations: 32 kB / 0.5079 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.1065, allocations: 0.8859 MB / 0.5088 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.1104, allocations: 5.18 MB / 0.5138 GB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.1118, allocations: 0.9664 MB / 0.5148 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.1125, allocations: 0.6183 MB / 0.5154 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.1125, allocations: 24.98 kB / 0.5154 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1126, allocations: 47.56 kB / 0.5154 GB, free: 6.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.248e-06/0.1126, allocations: 0 / 0.5154 GB, free: 6.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.001419/0.114, allocations: 1.272 MB / 0.5167 GB, free: 5.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1141, allocations: 380.8 kB / 0.517 GB, free: 4.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.1151, allocations: 1.065 MB / 0.5181 GB, free: 3.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.1152, allocations: 53.7 kB / 0.5181 GB, free: 3.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.1155, allocations: 0.6812 MB / 0.5188 GB, free: 2.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.1157, allocations: 483.9 kB / 0.5193 GB, free: 2.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.116, allocations: 335.5 kB / 0.5196 GB, free: 2.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.116, allocations: 305.1 kB / 0.5199 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.1165, allocations: 447.8 kB / 0.5203 GB, free: 1.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.1173, allocations: 1.259 MB / 0.5215 GB, free: 15.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1185, allocations: 1.379 MB / 0.5229 GB, free: 14.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.1185, allocations: 8 kB / 0.5229 GB, free: 14.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001644/0.1202, allocations: 1.605 MB / 0.5245 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1202, allocations: 12 kB / 0.5245 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1202, allocations: 15.98 kB / 0.5245 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1202, allocations: 28.75 kB / 0.5245 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.121, allocations: 411.3 kB / 0.5249 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.1211, allocations: 23.94 kB / 0.5249 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.1214, allocations: 170.8 kB / 0.5251 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.1215, allocations: 71.98 kB / 0.5252 GB, free: 11.82 MB / 394.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_FS.satLOW_in,R_FS.satHIGH_in,R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.satLOW_in,R_Osc.satHIGH_in,R_Osc.ATreq_in,R_US.satLOW_in,R_US.satHIGH_in,R_US.ATreq_in,R_OS.satLOW_in,R_OS.satHIGH_in,R_OS.ATreq_in,R_iD.satLOW_in,R_iD.satHIGH_in,R_iD.ATreq_in,R_i.satLOW_in,R_i.satHIGH_in,R_i.ATreq_in,R_FOD.satLOW_in,R_FOD.satHIGH_in,R_FOD.ATreq_in,R_FO.satLOW_in,R_FO.satHIGH_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 224 * 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.0002963/0.1218, allocations: 315.3 kB / 0.5255 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1219, allocations: 151 kB / 0.5256 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1231, allocations: 1.199 MB / 0.5268 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1231, allocations: 19.94 kB / 0.5268 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1231, allocations: 0 / 0.5268 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1231, allocations: 7.969 kB / 0.5268 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.1255, allocations: 2.479 MB / 0.5292 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1255, allocations: 8.031 kB / 0.5292 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/0.1265, allocations: 343.6 kB / 0.5296 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.1265, allocations: 4 kB / 0.5296 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.1265, allocations: 43.98 kB / 0.5296 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1265, allocations: 4 kB / 0.5296 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1265, allocations: 8 kB / 0.5296 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1283, allocations: 1.691 MB / 0.5313 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.1284, allocations: 158.7 kB / 0.5314 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.1285, allocations: 35.98 kB / 0.5314 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1288, allocations: 35.98 kB / 0.5315 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.1289, allocations: 89.03 kB / 0.5316 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.1289, allocations: 43.92 kB / 0.5316 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004681/0.1294, allocations: 0.6448 MB / 0.5322 GB, free: 4.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1294, allocations: 4 kB / 0.5322 GB, free: 4.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.1298, allocations: 287.4 kB / 0.5325 GB, free: 4.133 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (136): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.13, allocations: 151 kB / 0.5327 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.1311, allocations: 1.088 MB / 0.5337 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1311, allocations: 384 / 0.5337 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.1315, allocations: 499.2 kB / 0.5342 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.132, allocations: 159.4 kB / 0.5344 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.1348, allocations: 3.111 MB / 0.5374 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.1354, allocations: 0.6331 MB / 0.538 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.1356, allocations: 131.4 kB / 0.5381 GB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1356, allocations: 0 / 0.5381 GB, free: 14.29 MB / 410.7 MB Notification: Performance of Templates: time 0.207/0.3426, allocations: 16.56 MB / 0.5543 GB, free: 59.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.293662286363542]