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.001821/0.001821, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002324/0.002324, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06684/0.06684, allocations: 11.36 MB / 324.5 MB, free: 8.004 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.002384/0.002384, allocations: 71.89 kB / 452.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1168, allocations: 56.07 MB / 0.4964 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006231/0.1231, allocations: 3.871 MB / 0.5001 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.1272, allocations: 1.817 MB / 0.5019 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1282, allocations: 102.9 kB / 0.502 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.1288, allocations: 185.6 kB / 0.5022 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.1297, allocations: 178.1 kB / 0.5024 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.1323, allocations: 0.979 MB / 0.5033 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.1346, allocations: 1.624 MB / 0.5049 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.1354, allocations: 301.1 kB / 0.5052 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1365, allocations: 0.6847 MB / 0.5059 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.1374, allocations: 0.5433 MB / 0.5064 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.1378, allocations: 128 kB / 0.5065 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.1381, allocations: 128 kB / 0.5066 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004173/0.1385, allocations: 330.7 kB / 0.507 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.1393, allocations: 0.5124 MB / 0.5075 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1409, allocations: 1.396 MB / 0.5088 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1409, allocations: 0 / 0.5088 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1409, allocations: 0 / 0.5088 GB, free: 4.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.589e-05/0.141, allocations: 0 / 0.5088 GB, free: 4.812 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.003484/0.1445, allocations: 1.758 MB / 0.5105 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1446, allocations: 12.03 kB / 0.5105 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/0.1448, allocations: 187.8 kB / 0.5107 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.1469, allocations: 0.9789 MB / 0.5117 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.1471, allocations: 312.7 kB / 0.512 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.1474, allocations: 136.3 kB / 0.5121 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2401/0.3874, allocations: 1.594 MB / 0.5137 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.3875, allocations: 4.844 kB / 0.5137 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.3876, allocations: 49.97 kB / 0.5137 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.3876, allocations: 30.31 kB / 0.5137 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.389, allocations: 0.7806 MB / 0.5145 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.3943, allocations: 4.856 MB / 0.5193 GB, free: 19.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3957, allocations: 0.8055 MB / 0.52 GB, free: 19.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.3963, allocations: 394.1 kB / 0.5204 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.3963, allocations: 20.34 kB / 0.5204 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3964, allocations: 44 kB / 0.5205 GB, free: 19.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.685e-06/0.3964, allocations: 4.594 kB / 0.5205 GB, free: 19.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001745/0.3981, allocations: 1.104 MB / 0.5216 GB, free: 19.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.3982, allocations: 374.5 kB / 0.5219 GB, free: 18.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3994, allocations: 1.035 MB / 0.5229 GB, free: 18.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.3995, allocations: 47.77 kB / 0.523 GB, free: 18.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.3999, allocations: 0.6745 MB / 0.5236 GB, free: 17.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.4002, allocations: 398 kB / 0.524 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.4005, allocations: 300.6 kB / 0.5243 GB, free: 17.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.4006, allocations: 306.7 kB / 0.5246 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.4012, allocations: 367.9 kB / 0.5249 GB, free: 17.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/0.4022, allocations: 1.167 MB / 0.5261 GB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4037, allocations: 1.217 MB / 0.5273 GB, free: 15.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.4037, allocations: 4.859 kB / 0.5273 GB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002255/0.406, allocations: 1.385 MB / 0.5286 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.406, allocations: 14.59 kB / 0.5286 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.406, allocations: 18.86 kB / 0.5287 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-05/0.4061, allocations: 24.78 kB / 0.5287 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.4075, allocations: 355.1 kB / 0.529 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.4075, allocations: 28.94 kB / 0.529 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.4083, allocations: 154.9 kB / 0.5292 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.4084, allocations: 65.36 kB / 0.5293 GB, free: 14.38 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.0004834/0.4089, allocations: 297.9 kB / 0.5295 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4091, allocations: 137.7 kB / 0.5297 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.4109, allocations: 1.061 MB / 0.5307 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4109, allocations: 22.05 kB / 0.5307 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4109, allocations: 0.6094 kB / 0.5307 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.4109, allocations: 5.156 kB / 0.5307 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.4121, allocations: 0.8304 MB / 0.5315 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4121, allocations: 2.469 kB / 0.5315 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.4138, allocations: 307.7 kB / 0.5318 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.4138, allocations: 7.781 kB / 0.5319 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.4139, allocations: 31.59 kB / 0.5319 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.4139, allocations: 3.625 kB / 0.5319 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4139, allocations: 3.938 kB / 0.5319 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.4162, allocations: 1.464 MB / 0.5333 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4164, allocations: 146.3 kB / 0.5335 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4166, allocations: 25.78 kB / 0.5335 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.4171, allocations: 32.66 kB / 0.5335 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.4173, allocations: 75.94 kB / 0.5336 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/0.4174, allocations: 39.12 kB / 0.5336 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.4184, allocations: 0.6282 MB / 0.5342 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4184, allocations: 0.5 kB / 0.5342 GB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001209/0.4196, allocations: 254.7 kB / 0.5345 GB, free: 12.01 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.0001991/0.4198, allocations: 145.7 kB / 0.5346 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.4217, allocations: 0.9275 MB / 0.5355 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4218, allocations: 5.25 kB / 0.5355 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.4224, allocations: 433.5 kB / 0.5359 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.4231, allocations: 154.6 kB / 0.5361 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.4273, allocations: 2.93 MB / 0.539 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.428, allocations: 0.6075 MB / 0.5395 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.4284, allocations: 113.9 kB / 0.5397 GB, free: 9.629 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4284, allocations: 0 / 0.5397 GB, free: 9.629 MB / 382.1 MB Notification: Performance of Templates: time 0.02147/0.4499, allocations: 15.4 MB / 0.5547 GB, free: 15.65 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.128648316953331] Failed to read output from testmodel.py, exit status != 0: 0.45881003281101584 0.47330005099999994 0.32917555299999995 Calling exit ...