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.0007354/0.0007354, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.00183, allocations: 455.9 kB / 10.43 MB, free: 260 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.00123/0.00123, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002531, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1439/1.16, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.06121/0.06121, allocations: 5.883 MB / 250 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004177/0.06539, allocations: 2.12 MB / 252.2 MB, free: 7.137 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.152e-06/1.152e-06, allocations: 0 / 253.4 MB, free: 5.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.745e-05, allocations: 6.312 kB / 253.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003802/0.00382, allocations: 4.076 MB / 257.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.006766, allocations: 2.211 MB / 259.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.007295, allocations: 106.8 kB / 259.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.007524, allocations: 197.5 kB / 260 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.007865, allocations: 193.9 kB / 260.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.009817, allocations: 1.213 MB / 261.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.01114, allocations: 1.819 MB / 263.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.01151, allocations: 329.4 kB / 263.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.01271, allocations: 1.232 MB / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.01312, allocations: 0.5137 MB / 265.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.01325, allocations: 144 kB / 265.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.01335, allocations: 144 kB / 265.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.01351, allocations: 262.9 kB / 265.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.01372, allocations: 327 kB / 266.2 MB, free: 9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.01437, allocations: 0.9217 MB / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.01438, allocations: 0 / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01438, allocations: 0 / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.0144, allocations: 0 / 267.1 MB, free: 8.074 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.001968/0.01636, allocations: 2.147 MB / 269.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.0164, allocations: 8.031 kB / 269.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.01661, allocations: 228.8 kB / 269.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.01755, allocations: 0.9276 MB / 270.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.01769, allocations: 312.9 kB / 270.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.01781, allocations: 152.3 kB / 270.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.019, allocations: 1.434 MB / 272.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.01903, allocations: 8.125 kB / 272.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.01909, allocations: 52.38 kB / 272.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.01912, allocations: 40.12 kB / 272.4 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.01957, allocations: 433.3 kB / 272.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/0.132, allocations: 4.504 MB / 277.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1331, allocations: 0.6561 MB / 278 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.1336, allocations: 416.6 kB / 278.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.1337, allocations: 29.17 kB / 278.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1337, allocations: 50.83 kB / 278.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=120): time 2.926e-06/0.1337, allocations: 0 / 278.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.0009141/0.1346, allocations: 0.6139 MB / 279.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1347, allocations: 67.56 kB / 279.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.1354, allocations: 0.9647 MB / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.1355, allocations: 57.8 kB / 280.2 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.1357, allocations: 0.5195 MB / 280.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.1359, allocations: 479.3 kB / 281.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.1362, allocations: 338.2 kB / 281.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.576e-05/0.1362, allocations: 307.5 kB / 281.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.1365, allocations: 171.9 kB / 282 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.137, allocations: 0.9908 MB / 282.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.1378, allocations: 0.9834 MB / 283.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.1378, allocations: 4.156 kB / 283.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001105/0.139, allocations: 0.9137 MB / 284.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.139, allocations: 12.66 kB / 284.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.139, allocations: 14.17 kB / 284.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.139, allocations: 22.59 kB / 284.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.1406, allocations: 0.5479 MB / 285.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1406, allocations: 35.89 kB / 285.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.141, allocations: 163.5 kB / 285.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.1411, allocations: 58.55 kB / 285.7 MB, free: 11.61 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.0002231/0.1413, allocations: 227.9 kB / 285.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1415, allocations: 119.3 kB / 286 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.1423, allocations: 0.7509 MB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.1423, allocations: 12.38 kB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1423, allocations: 0 / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1424, allocations: 7.797 kB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.1445, allocations: 1.653 MB / 288.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1445, allocations: 1.688 kB / 288.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.1457, allocations: 490.8 kB / 288.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1458, allocations: 150.3 kB / 289.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1458, allocations: 7.781 kB / 289.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/0.1459, allocations: 33.41 kB / 289.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.1459, allocations: 9.5 kB / 289.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1459, allocations: 4.938 kB / 289.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.1468, allocations: 0.9982 MB / 290.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1469, allocations: 34.41 kB / 290.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1471, allocations: 33.83 kB / 290.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1473, allocations: 93.05 kB / 290.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.1473, allocations: 28.25 kB / 290.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003164/0.1476, allocations: 449.5 kB / 290.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1476, allocations: 0 / 290.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.1482, allocations: 279.8 kB / 291 MB, free: 10.38 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.0001292/0.1483, allocations: 136.9 kB / 291.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.149, allocations: 0.72 MB / 291.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.892e-05/0.1491, allocations: 31.62 kB / 291.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.1495, allocations: 441.3 kB / 292.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.1502, allocations: 1.094 MB / 293.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.153, allocations: 2.701 MB / 296.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.1531, allocations: 275.9 kB / 296.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.1535, allocations: 209.9 kB / 296.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.154, allocations: 323.2 kB / 296.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.154, allocations: 0 / 296.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Templates: time 0.02441/0.1784, allocations: 13.04 MB / 310 MB, free: 8.781 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.074605707079172]