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.0009158/0.0009158, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004523/0.005439, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009078/0.0009078, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004795/0.005702, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.032/1.032, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/1.159, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.04055/0.04055, allocations: 8.605 MB / 252.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007209/0.04776, allocations: 3.125 MB / 255.7 MB, free: 3.602 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.705e-06/2.705e-06, allocations: 0 / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.241e-05, allocations: 2.312 kB / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005694/0.005727, allocations: 4.002 MB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.0097, allocations: 1.906 MB / 262.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01078, allocations: 98.94 kB / 263 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.01113, allocations: 197.5 kB / 263.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004355/0.01156, allocations: 186 kB / 263.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.01362, allocations: 0.9827 MB / 264.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.01518, allocations: 1.581 MB / 265.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.01571, allocations: 321.2 kB / 266.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.01688, allocations: 1.08 MB / 267.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.01738, allocations: 438.2 kB / 267.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.01755, allocations: 128 kB / 267.9 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.01766, allocations: 128 kB / 268 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01783, allocations: 243 kB / 268.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.01808, allocations: 307 kB / 268.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009365/0.01901, allocations: 0.8477 MB / 269.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.32e-05/0.01904, allocations: 0 / 269.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01904, allocations: 0 / 269.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.01907, allocations: 0 / 269.4 MB, free: 5.824 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002204/0.02127, allocations: 1.998 MB / 271.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.02132, allocations: 8.031 kB / 271.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.02157, allocations: 216.8 kB / 271.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.02282, allocations: 0.9198 MB / 272.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.023, allocations: 308.7 kB / 272.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.02314, allocations: 140.3 kB / 272.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.02423, allocations: 1.35 MB / 274.3 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.02426, allocations: 8.125 kB / 274.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.02432, allocations: 48.38 kB / 274.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.02434, allocations: 36.12 kB / 274.4 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.02481, allocations: 413.3 kB / 274.8 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1976/0.2224, allocations: 4.277 MB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2235, allocations: 496.2 kB / 279.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.2238, allocations: 203.5 kB / 279.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.2239, allocations: 25.91 kB / 279.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.224, allocations: 49.52 kB / 279.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 7.294e-06/0.224, allocations: 1.594 kB / 279.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.00119/0.2252, allocations: 0.5404 MB / 280.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2252, allocations: 63.44 kB / 280.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.2264, allocations: 0.9449 MB / 281.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.2264, allocations: 49.08 kB / 281.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.2268, allocations: 0.4985 MB / 281.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.2271, allocations: 405.9 kB / 282.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.2275, allocations: 302.6 kB / 282.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.2275, allocations: 303.5 kB / 282.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.2278, allocations: 140.1 kB / 283 MB, free: 10.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.2284, allocations: 0.9545 MB / 284 MB, free: 9.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2296, allocations: 0.8562 MB / 284.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.2296, allocations: 4.406 kB / 284.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001653/0.2313, allocations: 0.8108 MB / 285.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2313, allocations: 11.47 kB / 285.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.2314, allocations: 12.78 kB / 285.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/0.2314, allocations: 24.8 kB / 285.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.2332, allocations: 498.4 kB / 286.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/0.2333, allocations: 30.97 kB / 286.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.2341, allocations: 149.3 kB / 286.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.2342, allocations: 53.67 kB / 286.4 MB, free: 8.625 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 (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.000552/0.2347, allocations: 220.5 kB / 286.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.235, allocations: 109.2 kB / 286.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.2366, allocations: 0.6384 MB / 287.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.2367, allocations: 11.28 kB / 287.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2367, allocations: 1.703 kB / 287.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.2367, allocations: 9.297 kB / 287.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2382, allocations: 0.6015 MB / 288 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.2382, allocations: 4.547 kB / 288 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.2403, allocations: 454.8 kB / 288.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.2405, allocations: 135.9 kB / 288.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.2405, allocations: 7.594 kB / 288.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.2406, allocations: 32.94 kB / 288.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.2407, allocations: 5.141 kB / 288.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2407, allocations: 0 / 288.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.2425, allocations: 0.8539 MB / 289.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.2426, allocations: 32.84 kB / 289.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.243, allocations: 30.47 kB / 289.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.2432, allocations: 75.83 kB / 289.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.2433, allocations: 23.33 kB / 289.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007029/0.244, allocations: 440.6 kB / 290.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.244, allocations: 0 / 290.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00136/0.2453, allocations: 255.9 kB / 290.3 MB, free: 7.816 MB / 266.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.000234/0.2456, allocations: 127.6 kB / 290.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.247, allocations: 0.6172 MB / 291.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.245e-05/0.2471, allocations: 26.78 kB / 291.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.2476, allocations: 287 kB / 291.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.2484, allocations: 225.5 kB / 291.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.2531, allocations: 2.531 MB / 294.1 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2533, allocations: 261.8 kB / 294.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0008509/0.2542, allocations: 190.7 kB / 294.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.2548, allocations: 294.3 kB / 294.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of SimCode: time 2.535e-06/0.2548, allocations: 0 / 294.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of Templates: time 0.02002/0.2748, allocations: 10.88 MB / 305.7 MB, free: 10.54 MB / 282.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.461409387178719]