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.0006667/0.0006667, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001648, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006569/0.0006569, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009606/0.001618, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9615/0.9615, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.08671/0.08671, allocations: 5.892 MB / 250 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004082/0.09079, allocations: 2.12 MB / 252.2 MB, free: 7.141 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 1.343e-06/1.343e-06, allocations: 0 / 253.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.477e-05, allocations: 2.312 kB / 253.4 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004594/0.004619, allocations: 4.076 MB / 257.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.008185, allocations: 2.214 MB / 259.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.008771, allocations: 102.8 kB / 259.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.009054, allocations: 205.4 kB / 260 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.009443, allocations: 189.9 kB / 260.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.01122, allocations: 1.209 MB / 261.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.01266, allocations: 1.819 MB / 263.2 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.01308, allocations: 321.4 kB / 263.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.01438, allocations: 1.232 MB / 264.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.01489, allocations: 0.4981 MB / 265.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.01508, allocations: 144 kB / 265.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.0152, allocations: 144 kB / 265.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01535, allocations: 258.9 kB / 265.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.01557, allocations: 327 kB / 266.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.01627, allocations: 0.9217 MB / 267.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.01628, allocations: 4 kB / 267.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01628, allocations: 0 / 267.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.01631, allocations: 0 / 267.1 MB, free: 8.109 MB / 266.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.002105/0.01841, allocations: 2.147 MB / 269.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.01844, allocations: 8.031 kB / 269.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.01867, allocations: 224.8 kB / 269.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.0197, allocations: 0.9314 MB / 270.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.01983, allocations: 320.9 kB / 270.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.01997, allocations: 148.3 kB / 270.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.02095, allocations: 1.434 MB / 272.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.02097, allocations: 12.11 kB / 272.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.02103, allocations: 52.38 kB / 272.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.02106, allocations: 36.12 kB / 272.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.02154, allocations: 433.3 kB / 272.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1179/0.1395, allocations: 4.503 MB / 277.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.1406, allocations: 0.6491 MB / 277.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.1411, allocations: 419.2 kB / 278.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.1412, allocations: 33.81 kB / 278.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1412, allocations: 49.59 kB / 278.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=120): time 3.837e-06/0.1412, allocations: 0 / 278.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.0008768/0.1421, allocations: 0.612 MB / 279 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1421, allocations: 66.25 kB / 279.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.1429, allocations: 0.9679 MB / 280.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.1429, allocations: 50.14 kB / 280.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.1432, allocations: 0.5206 MB / 280.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.1434, allocations: 479.9 kB / 281.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.1437, allocations: 342.1 kB / 281.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.808e-05/0.1437, allocations: 302.8 kB / 281.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1439, allocations: 172.6 kB / 281.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.1444, allocations: 0.992 MB / 282.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.1452, allocations: 0.9921 MB / 283.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.1452, allocations: 2.906 kB / 283.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001293/0.1465, allocations: 0.9134 MB / 284.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.1465, allocations: 12.16 kB / 284.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.1465, allocations: 12.75 kB / 284.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/0.1466, allocations: 22.75 kB / 284.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.1479, allocations: 0.5632 MB / 285.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.1479, allocations: 32.88 kB / 285.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.1483, allocations: 165 kB / 285.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.1484, allocations: 58.97 kB / 285.7 MB, free: 11.63 MB / 266.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_FO.ATreq_in,R_FO.satHIGH_in,R_FO.satLOW_in,R_FOD.ATreq_in,R_FOD.satHIGH_in,R_FOD.satLOW_in,R_i.ATreq_in,R_i.satHIGH_in,R_i.satLOW_in,R_iD.ATreq_in,R_iD.satHIGH_in,R_iD.satLOW_in,R_OS.ATreq_in,R_OS.satHIGH_in,R_OS.satLOW_in,R_US.ATreq_in,R_US.satHIGH_in,R_US.satLOW_in,R_Osc.ATreq_in,R_Osc.satHIGH_in,R_Osc.satLOW_in,R_FO.TS_in,R_FOD.TS_in,R_i.TS_in,R_iD.TS_in,R_OS.TS_in,R_US.TS_in,R_Osc.TS_in,R_FS.TS_in,R_FS.ATreq_in,R_FS.satHIGH_in,R_FS.satLOW_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.0002275/0.1486, allocations: 227.3 kB / 285.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1488, allocations: 119.4 kB / 286 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.1496, allocations: 0.7234 MB / 286.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.1496, allocations: 14.3 kB / 286.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1496, allocations: 0.6562 kB / 286.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.1496, allocations: 6.234 kB / 286.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.1517, allocations: 1.648 MB / 288.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1517, allocations: 3.453 kB / 288.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.153, allocations: 0.5009 MB / 288.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1531, allocations: 153.5 kB / 289.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.1532, allocations: 8.141 kB / 289.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.1532, allocations: 34.05 kB / 289.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1532, allocations: 11.12 kB / 289.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1532, allocations: 3.812 kB / 289.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1543, allocations: 0.9947 MB / 290.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1544, allocations: 34.41 kB / 290.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.1547, allocations: 28.59 kB / 290.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1548, allocations: 91.3 kB / 290.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.1549, allocations: 35.45 kB / 290.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.1552, allocations: 454.8 kB / 290.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1552, allocations: 0 / 290.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006777/0.1559, allocations: 278.5 kB / 291 MB, free: 10.4 MB / 266.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.0001361/0.156, allocations: 135 kB / 291.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.1568, allocations: 0.7398 MB / 291.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-05/0.1569, allocations: 27.69 kB / 291.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.1572, allocations: 408.9 kB / 292.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.158, allocations: 1.095 MB / 293.4 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.1609, allocations: 2.703 MB / 296.1 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.161, allocations: 279.3 kB / 296.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.1615, allocations: 209.3 kB / 296.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.162, allocations: 311.3 kB / 296.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.162, allocations: 0 / 296.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of Templates: time 0.03873/0.2008, allocations: 13.05 MB / 309.9 MB, free: 8.812 MB / 282.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: 2.9292606711387634]