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.001094/0.001094, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002811, 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.001082/0.001082, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002493, 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.136, allocations: 53.66 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.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.04426/0.04426, allocations: 9.786 MB / 253.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007037/0.0513, allocations: 3.476 MB / 257.2 MB, free: 2.121 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.253e-06/1.253e-06, allocations: 0 / 258.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.427e-05, allocations: 5.688 kB / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00449/0.004504, allocations: 4.026 MB / 262.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.008187, allocations: 2.152 MB / 264.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.008776, allocations: 102.9 kB / 264.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.009066, allocations: 193.5 kB / 265 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.009484, allocations: 190 kB / 265.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.0117, allocations: 1.17 MB / 266.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.01343, allocations: 1.78 MB / 268.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.01386, allocations: 321.3 kB / 268.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.01535, allocations: 1.213 MB / 269.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.01592, allocations: 494.1 kB / 270.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.0161, allocations: 140 kB / 270.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.01624, allocations: 144 kB / 270.4 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.01643, allocations: 251 kB / 270.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.01671, allocations: 319 kB / 270.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.01759, allocations: 0.8983 MB / 271.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.01761, allocations: 4 kB / 271.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01761, allocations: 0 / 271.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.01763, allocations: 0 / 271.8 MB, free: 3.391 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002374/0.02001, allocations: 2.096 MB / 273.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.02004, allocations: 8.031 kB / 273.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.02027, allocations: 216.8 kB / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.02146, allocations: 0.9315 MB / 275.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1125/0.134, allocations: 311.4 kB / 275.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.1343, allocations: 142.2 kB / 275.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1353, allocations: 1.397 MB / 276.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1354, allocations: 6.062 kB / 276.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.1354, allocations: 53.12 kB / 277 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1354, allocations: 31.5 kB / 277 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.136, allocations: 423.1 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1392, allocations: 4.446 MB / 281.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.1402, allocations: 0.6617 MB / 282.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.1406, allocations: 406.2 kB / 282.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.1407, allocations: 29.19 kB / 283 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1407, allocations: 48.05 kB / 283 MB, free: 9.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=120): time 2.435e-06/0.1407, allocations: 0 / 283 MB, free: 9.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.0008287/0.1416, allocations: 0.6181 MB / 283.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1416, allocations: 67.19 kB / 283.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.1423, allocations: 0.9666 MB / 284.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.1423, allocations: 55 kB / 284.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1426, allocations: 0.4927 MB / 285.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.1427, allocations: 480.1 kB / 285.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.143, allocations: 342 kB / 286 MB, free: 8.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.143, allocations: 306.2 kB / 286.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1432, allocations: 170.5 kB / 286.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.1437, allocations: 0.9966 MB / 287.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.1444, allocations: 0.9438 MB / 288.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.1444, allocations: 4.125 kB / 288.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.000978/0.1454, allocations: 0.9136 MB / 289.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1454, allocations: 11.55 kB / 289.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1455, allocations: 12.16 kB / 289.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1455, allocations: 23.66 kB / 289.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.1468, allocations: 0.5663 MB / 289.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.1468, allocations: 29.73 kB / 290 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.1472, allocations: 170.6 kB / 290.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.1473, allocations: 57.53 kB / 290.2 MB, free: 6.633 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.0002481/0.1475, allocations: 237.4 kB / 290.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1476, allocations: 117.9 kB / 290.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.1484, allocations: 0.706 MB / 291.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.1484, allocations: 18.03 kB / 291.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1484, allocations: 0 / 291.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1484, allocations: 7.828 kB / 291.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.1501, allocations: 1.646 MB / 292.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1501, allocations: 3.828 kB / 292.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.1513, allocations: 0.4978 MB / 293.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1514, allocations: 142.8 kB / 293.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.1515, allocations: 7.219 kB / 293.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.1515, allocations: 41.92 kB / 293.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1515, allocations: 6.859 kB / 293.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1515, allocations: 3.062 kB / 293.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.1523, allocations: 0.9937 MB / 294.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.1524, allocations: 32 kB / 294.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1526, allocations: 36.88 kB / 294.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.1527, allocations: 93.06 kB / 294.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1527, allocations: 27.98 kB / 294.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.1529, allocations: 447.5 kB / 295.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1529, allocations: 0 / 295.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.1534, allocations: 275.5 kB / 295.5 MB, free: 3.516 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.0001235/0.1535, allocations: 140.2 kB / 295.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.1541, allocations: 0.7134 MB / 296.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-05/0.1541, allocations: 30.25 kB / 296.4 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.1544, allocations: 338.7 kB / 296.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1548, allocations: 236.5 kB / 296.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1572, allocations: 2.642 MB / 299.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1574, allocations: 266.2 kB / 299.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004268/0.1579, allocations: 214.9 kB / 300.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.1583, allocations: 315.3 kB / 300.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1583, allocations: 0 / 300.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of Templates: time 0.01901/0.1773, allocations: 13.36 MB / 313.7 MB, free: 1.477 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: 3.114868650212884]