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.0026/0.0026, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 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.003/0.003, allocations: 211.6 kB / 22.25 MB, free: 3.57 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 1.727/1.727, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.1006/0.1006, allocations: 7.625 MB / 320 MB, free: 10.7 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.004154/0.004154, allocations: 70.7 kB / 446.5 MB, free: 40.4 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.103, allocations: 55.07 MB / 0.4898 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006416/0.1094, allocations: 3.927 MB / 0.4936 GB, free: 13.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.1141, allocations: 2.114 MB / 0.4957 GB, free: 11.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009048/0.115, allocations: 106.8 kB / 0.4958 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.1157, allocations: 185.5 kB / 0.496 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.1163, allocations: 190.1 kB / 0.4962 GB, free: 10.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.1189, allocations: 1.197 MB / 0.4973 GB, free: 9.496 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002627/0.1216, allocations: 1.87 MB / 0.4992 GB, free: 7.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.1222, allocations: 293.4 kB / 0.4994 GB, free: 7.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1235, allocations: 0.7939 MB / 0.5002 GB, free: 6.508 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009116/0.1244, allocations: 0.6212 MB / 0.5008 GB, free: 5.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.1246, allocations: 144 kB / 0.501 GB, free: 5.742 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1248, allocations: 144 kB / 0.5011 GB, free: 5.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.1252, allocations: 362.6 kB / 0.5014 GB, free: 5.246 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.1258, allocations: 0.5513 MB / 0.502 GB, free: 4.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.1279, allocations: 1.509 MB / 0.5035 GB, free: 3.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1279, allocations: 3.984 kB / 0.5035 GB, free: 3.168 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1279, allocations: 4 kB / 0.5035 GB, free: 3.164 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.1279, allocations: 0 / 0.5035 GB, free: 3.164 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.003883/0.1318, allocations: 1.878 MB / 0.5053 GB, free: 1.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1318, allocations: 8.031 kB / 0.5053 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.1322, allocations: 195.7 kB / 0.5055 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.1341, allocations: 1.006 MB / 0.5065 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.1344, allocations: 312.9 kB / 0.5068 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.1346, allocations: 152.3 kB / 0.5069 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.1373, allocations: 1.7 MB / 0.5086 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.1373, allocations: 11.88 kB / 0.5086 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1375, allocations: 48 kB / 0.5086 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.1375, allocations: 32 kB / 0.5087 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.1392, allocations: 0.8859 MB / 0.5095 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008336/0.1476, allocations: 5.184 MB / 0.5146 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.15, allocations: 0.9715 MB / 0.5155 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.1513, allocations: 0.6144 MB / 0.5161 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/0.1514, allocations: 16.98 kB / 0.5162 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.1515, allocations: 51.56 kB / 0.5162 GB, free: 5.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 3.697e-06/0.1515, allocations: 0 / 0.5162 GB, free: 5.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.00292/0.1544, allocations: 1.272 MB / 0.5175 GB, free: 4.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002879/0.1547, allocations: 384.8 kB / 0.5178 GB, free: 3.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.1563, allocations: 1.054 MB / 0.5188 GB, free: 2.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.1564, allocations: 53.7 kB / 0.5189 GB, free: 2.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.1571, allocations: 0.689 MB / 0.5196 GB, free: 2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.1576, allocations: 487.9 kB / 0.52 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.1581, allocations: 331.5 kB / 0.5204 GB, free: 1.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1583, allocations: 301.1 kB / 0.5206 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.1592, allocations: 447.8 kB / 0.5211 GB, free: 468 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.1608, allocations: 1.259 MB / 0.5223 GB, free: 14.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.1634, allocations: 1.383 MB / 0.5236 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.1634, allocations: 4 kB / 0.5237 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002994/0.1664, allocations: 1.598 MB / 0.5252 GB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.1664, allocations: 12 kB / 0.5252 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1664, allocations: 16.12 kB / 0.5252 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/0.1665, allocations: 31.88 kB / 0.5253 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.1682, allocations: 411.3 kB / 0.5257 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.32e-05/0.1683, allocations: 27.92 kB / 0.5257 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.1692, allocations: 166.8 kB / 0.5258 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.1693, allocations: 75.98 kB / 0.5259 GB, free: 11 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.0006474/0.17, allocations: 319.3 kB / 0.5262 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.1702, allocations: 147 kB / 0.5264 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.1727, allocations: 1.203 MB / 0.5275 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.1727, allocations: 19.94 kB / 0.5276 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1727, allocations: 0 / 0.5276 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.1727, allocations: 7.969 kB / 0.5276 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.1775, allocations: 2.483 MB / 0.53 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.1775, allocations: 4 kB / 0.53 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.1794, allocations: 347.6 kB / 0.5303 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.1794, allocations: 8.188 kB / 0.5303 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1795, allocations: 39.98 kB / 0.5304 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003013/0.1798, allocations: 8 kB / 0.5304 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1798, allocations: 3.938 kB / 0.5304 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.1829, allocations: 1.695 MB / 0.532 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.1831, allocations: 154.6 kB / 0.5322 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.1833, allocations: 39.98 kB / 0.5322 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.184, allocations: 31.98 kB / 0.5323 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.1842, allocations: 105 kB / 0.5324 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.1843, allocations: 39.98 kB / 0.5324 GB, free: 4.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.1853, allocations: 0.6448 MB / 0.533 GB, free: 3.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1853, allocations: 0 / 0.533 GB, free: 3.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001142/0.1864, allocations: 279.5 kB / 0.5333 GB, free: 3.312 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.0002889/0.1867, allocations: 143.1 kB / 0.5334 GB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.1892, allocations: 1.099 MB / 0.5345 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1892, allocations: 0 / 0.5345 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009172/0.1901, allocations: 0.4914 MB / 0.535 GB, free: 1.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/0.191, allocations: 166 kB / 0.5351 GB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.1975, allocations: 3.066 MB / 0.5381 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.1985, allocations: 0.6331 MB / 0.5388 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.1998, allocations: 211.1 kB / 0.539 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.2003, allocations: 115.4 kB / 0.5391 GB, free: 13.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.2003, allocations: 0 / 0.5391 GB, free: 13.31 MB / 410.7 MB Notification: Performance of Templates: time 0.02921/0.2295, allocations: 12.57 MB / 0.5513 GB, free: 0.8477 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.159727645106614]