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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06549/0.06549, allocations: 11.34 MB / 314.7 MB, free: 0.8555 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002873/0.002873, allocations: 59.91 kB / 438.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2389, allocations: 54.84 MB / 493.3 MB, free: 23.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004507/0.2434, allocations: 4.419 MB / 497.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2467, allocations: 1.846 MB / 499.6 MB, free: 19.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.2474, allocations: 73.16 kB / 499.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.2477, allocations: 187.9 kB / 499.9 MB, free: 19.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.2482, allocations: 177.6 kB / 0.4883 GB, free: 19.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.2498, allocations: 0.9628 MB / 0.4892 GB, free: 18.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.2511, allocations: 1.626 MB / 0.4908 GB, free: 17.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.2515, allocations: 315 kB / 0.4911 GB, free: 17.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.252, allocations: 0.6612 MB / 0.4918 GB, free: 16.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.2525, allocations: 0.6032 MB / 0.4924 GB, free: 16.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.2527, allocations: 127.8 kB / 0.4925 GB, free: 16.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2528, allocations: 127.9 kB / 0.4926 GB, free: 16.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.253, allocations: 333.7 kB / 0.4929 GB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.2533, allocations: 0.6494 MB / 0.4936 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009785/0.2543, allocations: 1.385 MB / 0.4949 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2543, allocations: 0 / 0.4949 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2543, allocations: 1.219 kB / 0.4949 GB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.2543, allocations: 0 / 0.4949 GB, free: 14.29 MB / 366.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.002577/0.2569, allocations: 1.83 MB / 0.4967 GB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2569, allocations: 8.844 kB / 0.4967 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2572, allocations: 185.8 kB / 0.4969 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.2586, allocations: 1.076 MB / 0.4979 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2588, allocations: 317.5 kB / 0.4982 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.259, allocations: 139.8 kB / 0.4984 GB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.2605, allocations: 1.293 MB / 0.4996 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.2606, allocations: 14.03 kB / 0.4997 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.2606, allocations: 49.69 kB / 0.4997 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.2607, allocations: 28.34 kB / 0.4997 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.2619, allocations: 0.7793 MB / 0.5005 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.2665, allocations: 5.298 MB / 0.5057 GB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.2679, allocations: 0.8065 MB / 0.5064 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.2684, allocations: 393.3 kB / 0.5068 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.2685, allocations: 17.64 kB / 0.5068 GB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2686, allocations: 45.06 kB / 0.5069 GB, free: 4.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.305e-06/0.2686, allocations: 5.312 kB / 0.5069 GB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=99): time 0.001714/0.2703, allocations: 1.094 MB / 0.508 GB, free: 4.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.2704, allocations: 385.1 kB / 0.5083 GB, free: 3.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009971/0.2714, allocations: 1.019 MB / 0.5093 GB, free: 3.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.2714, allocations: 48.36 kB / 0.5094 GB, free: 3.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2717, allocations: 0.6637 MB / 0.51 GB, free: 2.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.2719, allocations: 408.1 kB / 0.5104 GB, free: 2.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.2723, allocations: 300.6 kB / 0.5107 GB, free: 2.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.2723, allocations: 302.2 kB / 0.511 GB, free: 1.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.2729, allocations: 364.6 kB / 0.5113 GB, free: 1.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.2736, allocations: 0.872 MB / 0.5122 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.2751, allocations: 1.219 MB / 0.5134 GB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.2751, allocations: 4 kB / 0.5134 GB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002413/0.2776, allocations: 1.383 MB / 0.5147 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2776, allocations: 12 kB / 0.5147 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.2776, allocations: 15.94 kB / 0.5147 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/0.2776, allocations: 20 kB / 0.5148 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.2792, allocations: 360 kB / 0.5151 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/0.2792, allocations: 31.86 kB / 0.5151 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.28, allocations: 154.9 kB / 0.5153 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.2801, allocations: 64 kB / 0.5154 GB, free: 13.42 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.0004525/0.2806, allocations: 304.7 kB / 0.5156 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.2808, allocations: 139.1 kB / 0.5158 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.2828, allocations: 1.058 MB / 0.5168 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.2828, allocations: 12 kB / 0.5168 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2828, allocations: 3.938 kB / 0.5168 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2828, allocations: 3.984 kB / 0.5168 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.2843, allocations: 1.111 MB / 0.5179 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2843, allocations: 0 / 0.5179 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.2862, allocations: 311.6 kB / 0.5182 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.2862, allocations: 4 kB / 0.5182 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.2863, allocations: 31.98 kB / 0.5182 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.2863, allocations: 4 kB / 0.5182 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2863, allocations: 3.938 kB / 0.5183 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.2886, allocations: 1.467 MB / 0.5197 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.2888, allocations: 219.9 kB / 0.5199 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.289, allocations: 28 kB / 0.5199 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.2895, allocations: 31.98 kB / 0.5199 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.2897, allocations: 72.83 kB / 0.52 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.2897, allocations: 35.98 kB / 0.5201 GB, free: 8.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008227/0.2906, allocations: 0.6284 MB / 0.5207 GB, free: 7.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2906, allocations: 4 kB / 0.5207 GB, free: 7.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007656/0.2913, allocations: 251.5 kB / 0.5209 GB, free: 7.613 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.0002131/0.2915, allocations: 151 kB / 0.5211 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.2932, allocations: 0.9269 MB / 0.522 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2932, allocations: 0 / 0.522 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.2939, allocations: 433.7 kB / 0.5224 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.2947, allocations: 159.8 kB / 0.5225 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.2997, allocations: 2.926 MB / 0.5254 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.3006, allocations: 1.197 MB / 0.5266 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.301, allocations: 115.4 kB / 0.5267 GB, free: 1.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.301, allocations: 3.938 kB / 0.5267 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Templates: time 0.02363/0.3246, allocations: 14.91 MB / 0.5412 GB, free: 2.719 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: 7.868777039999259] Failed to read output from testmodel.py, exit status != 0: 0.3346198520011967 0.34632680600000004 0.089013163 Calling exit ...