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.001192/0.001192, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001679/0.001679, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9874/0.9874, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.03758/0.03758, allocations: 8.623 MB / 268.9 MB, free: 4.777 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 341.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.184e-05, allocations: 4.703 kB / 341.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004382/0.004413, allocations: 3.929 MB / 345.2 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.007149, allocations: 1.825 MB / 347.1 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007179/0.007867, allocations: 106.8 kB / 347.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.00819, allocations: 181.6 kB / 347.3 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.008624, allocations: 186 kB / 347.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.01026, allocations: 0.9866 MB / 348.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.01197, allocations: 1.639 MB / 350.2 MB, free: 324 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.0125, allocations: 309.2 kB / 350.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009024/0.0134, allocations: 0.9391 MB / 351.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.0138, allocations: 438.2 kB / 351.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.01393, allocations: 128 kB / 351.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.01403, allocations: 136 kB / 352.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.0142, allocations: 334.6 kB / 352.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.01443, allocations: 402.5 kB / 352.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.01519, allocations: 0.9372 MB / 353.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01519, allocations: 0 / 353.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01519, allocations: 0 / 353.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.0152, allocations: 0 / 353.7 MB, free: 12.69 MB / 330.7 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.001778/0.01698, allocations: 1.862 MB / 355.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.01702, allocations: 12.03 kB / 355.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.01727, allocations: 279.8 kB / 355.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.01855, allocations: 1.036 MB / 356.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.01872, allocations: 316.7 kB / 357.2 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.01888, allocations: 136.3 kB / 357.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.02017, allocations: 1.455 MB / 358.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.0202, allocations: 12.08 kB / 358.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.02028, allocations: 48.38 kB / 358.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.02031, allocations: 36.12 kB / 358.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.02093, allocations: 457.2 kB / 359.4 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.03121, allocations: 6.147 MB / 365.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/0.03802, allocations: 0.5498 MB / 366.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.03829, allocations: 225.5 kB / 366.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.03834, allocations: 32.98 kB / 366.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.03837, allocations: 54.33 kB / 366.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.044e-06/0.03837, allocations: 0 / 366.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009904/0.03936, allocations: 0.741 MB / 367.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.03949, allocations: 376.8 kB / 367.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.04627, allocations: 1.002 MB / 368.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.04633, allocations: 45.7 kB / 368.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.04675, allocations: 0.7151 MB / 369.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.047, allocations: 412.5 kB / 369.6 MB, free: 12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.04731, allocations: 309 kB / 369.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.04742, allocations: 480.8 kB / 370.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.04766, allocations: 163.8 kB / 370.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.04836, allocations: 1.162 MB / 371.7 MB, free: 9.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.05405, allocations: 1.026 MB / 372.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.05406, allocations: 4 kB / 372.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001255/0.05531, allocations: 1.059 MB / 373.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.05533, allocations: 8 kB / 373.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.05535, allocations: 15.94 kB / 373.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.05537, allocations: 24 kB / 373.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.05632, allocations: 355.9 kB / 374.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.05635, allocations: 31.86 kB / 374.2 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.05678, allocations: 154.9 kB / 374.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.05685, allocations: 52 kB / 374.4 MB, free: 6.555 MB / 346.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 (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.0002714/0.05712, allocations: 266 kB / 374.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005189/0.06231, allocations: 167.1 kB / 374.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.06333, allocations: 0.7845 MB / 375.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.06334, allocations: 15.98 kB / 375.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.06334, allocations: 0 / 375.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.06335, allocations: 7.984 kB / 375.7 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.06412, allocations: 0.6403 MB / 376.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.06412, allocations: 0 / 376.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007091/0.07121, allocations: 315.6 kB / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.07122, allocations: 4 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.0713, allocations: 31.98 kB / 376.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.07131, allocations: 4 kB / 376.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.07131, allocations: 0 / 376.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.07251, allocations: 1.085 MB / 377.7 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.07265, allocations: 146.7 kB / 377.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.07274, allocations: 28 kB / 377.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.07302, allocations: 27.98 kB / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.07314, allocations: 84.84 kB / 378 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.07318, allocations: 19.98 kB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004208/0.0736, allocations: 0.5422 MB / 378.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0736, allocations: 0 / 378.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003695/0.07729, allocations: 263.4 kB / 378.8 MB, free: 2.082 MB / 346.7 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.0001561/0.07745, allocations: 147.1 kB / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008403/0.07829, allocations: 0.6608 MB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.07829, allocations: 0 / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.07864, allocations: 315.2 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.0792, allocations: 163.9 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.08546, allocations: 2.577 MB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.08566, allocations: 260.9 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005596/0.08622, allocations: 190.1 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.08669, allocations: 314.1 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.08669, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01676/0.1035, allocations: 9.694 MB / 393.1 MB, free: 3.824 MB / 362.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.122555013280362]