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.0007756/0.0007756, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002019, 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.0007539/0.0007539, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002335/0.003089, 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.9397/0.9397, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09196/1.032, allocations: 53.67 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.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.0475/0.0475, allocations: 8.616 MB / 252.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004914/0.05241, allocations: 3.137 MB / 255.9 MB, free: 3.484 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 1.964e-06/1.964e-06, allocations: 0 / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.914e-05, allocations: 2.312 kB / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003425/0.003444, allocations: 4.018 MB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.006112, allocations: 1.902 MB / 263.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.00674, allocations: 102.9 kB / 263.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.006976, allocations: 201.4 kB / 263.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.007313, allocations: 182.1 kB / 263.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.008643, allocations: 0.9826 MB / 264.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.009965, allocations: 1.577 MB / 266.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.01034, allocations: 329.2 kB / 266.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.01127, allocations: 1.076 MB / 267.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.01165, allocations: 442.2 kB / 268 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.01178, allocations: 131.9 kB / 268.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.01188, allocations: 128 kB / 268.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01201, allocations: 235 kB / 268.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.01221, allocations: 311 kB / 268.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.01282, allocations: 0.8438 MB / 269.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.629e-06/0.01283, allocations: 4 kB / 269.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01283, allocations: 0 / 269.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.01285, allocations: 0 / 269.6 MB, free: 5.676 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.001727/0.01458, allocations: 1.995 MB / 271.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.0146, allocations: 8.031 kB / 271.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.01479, allocations: 216.8 kB / 271.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.01571, allocations: 0.9198 MB / 272.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.01584, allocations: 312.7 kB / 273 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.01596, allocations: 136.3 kB / 273.2 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.01686, allocations: 1.354 MB / 274.5 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.01689, allocations: 4.125 kB / 274.5 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.01694, allocations: 56.31 kB / 274.6 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.01696, allocations: 40.11 kB / 274.6 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1173/0.1343, allocations: 396.8 kB / 275 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.138, allocations: 4.285 MB / 279.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.1389, allocations: 0.4937 MB / 279.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1391, allocations: 202.8 kB / 280 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.1392, allocations: 23.08 kB / 280 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1392, allocations: 47.39 kB / 280 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.978e-06/0.1392, allocations: 1.078 kB / 280 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.0007959/0.14, allocations: 0.5418 MB / 280.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.14, allocations: 67.75 kB / 280.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.1408, allocations: 0.9371 MB / 281.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.1408, allocations: 49.23 kB / 281.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.1412, allocations: 0.4997 MB / 282.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.1414, allocations: 407.6 kB / 282.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.1416, allocations: 303.8 kB / 282.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.1417, allocations: 305.6 kB / 283.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.1419, allocations: 138.8 kB / 283.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1424, allocations: 0.9483 MB / 284.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.1432, allocations: 0.9003 MB / 285.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.1432, allocations: 5.094 kB / 285.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001102/0.1443, allocations: 0.8079 MB / 285.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.1444, allocations: 11.52 kB / 285.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.1444, allocations: 13.66 kB / 286 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/0.1444, allocations: 21.41 kB / 286 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.1457, allocations: 0.4957 MB / 286.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.1457, allocations: 31.72 kB / 286.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.1462, allocations: 147.9 kB / 286.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.1462, allocations: 53.94 kB / 286.7 MB, free: 8.684 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.0002638/0.1465, allocations: 214.7 kB / 286.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1466, allocations: 109.7 kB / 287 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.1474, allocations: 0.6438 MB / 287.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1474, allocations: 16.12 kB / 287.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1474, allocations: 0 / 287.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1474, allocations: 6.562 kB / 287.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.1481, allocations: 0.605 MB / 288.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.1481, allocations: 1.031 kB / 288.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.1493, allocations: 456 kB / 288.7 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.1494, allocations: 132.5 kB / 288.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.1494, allocations: 4.156 kB / 288.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.1494, allocations: 32.22 kB / 288.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1494, allocations: 4.25 kB / 288.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1494, allocations: 0 / 288.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.1502, allocations: 0.8551 MB / 289.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.1503, allocations: 28.78 kB / 289.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1505, allocations: 28.64 kB / 289.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.1506, allocations: 77.91 kB / 289.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1506, allocations: 23.73 kB / 289.9 MB, free: 8.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.1509, allocations: 436.9 kB / 290.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 3.219 kB / 290.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.1514, allocations: 257.3 kB / 290.6 MB, free: 7.836 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.0001173/0.1515, allocations: 128.9 kB / 290.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.1521, allocations: 0.6339 MB / 291.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-05/0.1521, allocations: 30.39 kB / 291.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.1524, allocations: 341.9 kB / 291.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.153, allocations: 1.071 MB / 292.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.1552, allocations: 2.531 MB / 295.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.1553, allocations: 262.8 kB / 295.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.1557, allocations: 196.9 kB / 295.8 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.156, allocations: 283.3 kB / 296 MB, free: 3.863 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.156, allocations: 0 / 296 MB, free: 3.863 MB / 266.7 MB Notification: Performance of Templates: time 0.01587/0.1719, allocations: 10.49 MB / 306.5 MB, free: 9.625 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: 2.883635738864541]