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.001757/0.001757, allocations: 110.2 kB / 19.7 MB, free: 2.25 MB / 14.72 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.00237/0.00237, allocations: 221.4 kB / 23.01 MB, free: 5.086 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.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.06466/0.06466, allocations: 11.35 MB / 324.5 MB, free: 8.219 MB / 254.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.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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 452.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 56.06 MB / 0.4964 GB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006011/0.1234, allocations: 4.446 MB / 0.5008 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.1272, allocations: 1.852 MB / 0.5026 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008879/0.1281, allocations: 94.94 kB / 0.5027 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.1285, allocations: 189.5 kB / 0.5029 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.129, allocations: 178.1 kB / 0.503 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.131, allocations: 0.9749 MB / 0.504 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.1329, allocations: 1.624 MB / 0.5056 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.1335, allocations: 325.2 kB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008651/0.1343, allocations: 0.6808 MB / 0.5065 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.135, allocations: 0.6019 MB / 0.5071 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1352, allocations: 128 kB / 0.5073 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1354, allocations: 132 kB / 0.5074 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.1356, allocations: 326.7 kB / 0.5077 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.1362, allocations: 0.6559 MB / 0.5083 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.1376, allocations: 1.376 MB / 0.5097 GB, free: 4.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1376, allocations: 4 kB / 0.5097 GB, free: 4.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1376, allocations: 0 / 0.5097 GB, free: 4.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.1376, allocations: 0 / 0.5097 GB, free: 4.184 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003228/0.1409, allocations: 1.751 MB / 0.5114 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/0.1409, allocations: 12.02 kB / 0.5114 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.1413, allocations: 191.8 kB / 0.5116 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.1433, allocations: 0.9711 MB / 0.5125 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.1436, allocations: 312.7 kB / 0.5128 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.1438, allocations: 144.3 kB / 0.513 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2391/0.3829, allocations: 1.295 MB / 0.5142 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.383, allocations: 6 kB / 0.5142 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.3831, allocations: 50.22 kB / 0.5143 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.3831, allocations: 27.78 kB / 0.5143 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.3845, allocations: 0.7851 MB / 0.5151 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/0.3904, allocations: 5.242 MB / 0.5202 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3919, allocations: 0.8132 MB / 0.521 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.3924, allocations: 395.8 kB / 0.5214 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/0.3925, allocations: 19.73 kB / 0.5214 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3925, allocations: 48.5 kB / 0.5214 GB, free: 19.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.224e-06/0.3925, allocations: 0.6562 kB / 0.5214 GB, free: 19.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001776/0.3943, allocations: 1.104 MB / 0.5225 GB, free: 18.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3944, allocations: 376.6 kB / 0.5229 GB, free: 18.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3956, allocations: 1.015 MB / 0.5239 GB, free: 18.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.3957, allocations: 45.39 kB / 0.5239 GB, free: 18.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.3961, allocations: 0.6678 MB / 0.5246 GB, free: 17.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.3964, allocations: 402.3 kB / 0.5249 GB, free: 17.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.3968, allocations: 305.6 kB / 0.5252 GB, free: 17.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.3968, allocations: 301.1 kB / 0.5255 GB, free: 16.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.3974, allocations: 369.5 kB / 0.5259 GB, free: 16.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.3983, allocations: 0.86 MB / 0.5267 GB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3998, allocations: 1.222 MB / 0.5279 GB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.3999, allocations: 3.906 kB / 0.5279 GB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002209/0.4021, allocations: 1.384 MB / 0.5293 GB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.4021, allocations: 10 kB / 0.5293 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.4021, allocations: 17.88 kB / 0.5293 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.4022, allocations: 21.56 kB / 0.5293 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.4038, allocations: 355.5 kB / 0.5297 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/0.4038, allocations: 32.72 kB / 0.5297 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.4046, allocations: 149.4 kB / 0.5298 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.4047, allocations: 64.78 kB / 0.5299 GB, free: 14.36 MB / 382.1 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 (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.0004936/0.4052, allocations: 314.2 kB / 0.5302 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.4054, allocations: 140.9 kB / 0.5303 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.4073, allocations: 1.055 MB / 0.5314 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4073, allocations: 10.94 kB / 0.5314 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4073, allocations: 0.6562 kB / 0.5314 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.4073, allocations: 6.438 kB / 0.5314 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.4088, allocations: 1.088 MB / 0.5324 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4088, allocations: 0 / 0.5324 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.4106, allocations: 307.2 kB / 0.5327 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.4106, allocations: 4.469 kB / 0.5327 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.4107, allocations: 35.7 kB / 0.5328 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.4107, allocations: 3.969 kB / 0.5328 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4107, allocations: 0 / 0.5328 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.4129, allocations: 1.473 MB / 0.5342 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.4131, allocations: 144.8 kB / 0.5343 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.4132, allocations: 30.47 kB / 0.5344 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.4137, allocations: 34.34 kB / 0.5344 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4139, allocations: 68.75 kB / 0.5345 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.4139, allocations: 37.69 kB / 0.5345 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.4149, allocations: 0.629 MB / 0.5351 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4149, allocations: 0 / 0.5351 GB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4161, allocations: 252.5 kB / 0.5354 GB, free: 11.89 MB / 382.1 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.0002037/0.4163, allocations: 147.5 kB / 0.5355 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.4182, allocations: 0.9206 MB / 0.5364 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4182, allocations: 5.219 kB / 0.5364 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.4189, allocations: 432.2 kB / 0.5368 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.4196, allocations: 152.9 kB / 0.537 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.4243, allocations: 2.934 MB / 0.5398 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.425, allocations: 1.192 MB / 0.541 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.4256, allocations: 114.4 kB / 0.5411 GB, free: 8.938 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4256, allocations: 0 / 0.5411 GB, free: 8.938 MB / 382.1 MB Notification: Performance of Templates: time 0.02685/0.4524, allocations: 14.94 MB / 0.5557 GB, free: 15.43 MB / 398.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.171730345115066] Failed to read output from testmodel.py, exit status != 0: 0.4625633351970464 0.47842206899999995 0.337469863 Calling exit ...