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.001248/0.001248, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001316/0.001316, allocations: 177 kB / 23.36 MB, free: 1.137 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.9604/0.9604, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.04589/0.04589, allocations: 8.619 MB / 268.9 MB, free: 4.797 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.493e-06/1.493e-06, allocations: 0 / 288.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.416e-05, allocations: 5.828 kB / 288.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.1216/0.1216, allocations: 3.98 MB / 292.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.1242, allocations: 1.901 MB / 294 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.1246, allocations: 101.4 kB / 294.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1249, allocations: 184.2 kB / 294.3 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1252, allocations: 188.7 kB / 294.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1266, allocations: 0.9876 MB / 295.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1279, allocations: 1.635 MB / 297.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.1282, allocations: 321.5 kB / 297.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.1291, allocations: 0.9362 MB / 298.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.1295, allocations: 437.1 kB / 298.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1296, allocations: 128.2 kB / 298.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1297, allocations: 129.2 kB / 299 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1299, allocations: 331.6 kB / 299.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1301, allocations: 402.2 kB / 299.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.1308, allocations: 0.9451 MB / 300.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1308, allocations: 3.188 kB / 300.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1308, allocations: 0 / 300.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.1308, allocations: 0 / 300.7 MB, free: 13.42 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.001489/0.1323, allocations: 1.724 MB / 302.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1323, allocations: 8.781 kB / 302.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.1325, allocations: 216.7 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.1334, allocations: 0.9167 MB / 303.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1335, allocations: 314.8 kB / 303.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1336, allocations: 140 kB / 304 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.1344, allocations: 1.36 MB / 305.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1344, allocations: 2.5 kB / 305.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1345, allocations: 50.81 kB / 305.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.1345, allocations: 35.67 kB / 305.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.135, allocations: 398.7 kB / 305.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.1374, allocations: 4.277 MB / 310.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.138, allocations: 0.5125 MB / 310.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1382, allocations: 205.7 kB / 310.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.1382, allocations: 23.14 kB / 310.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1382, allocations: 48.66 kB / 310.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.525e-06/0.1382, allocations: 0 / 310.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.0005459/0.1388, allocations: 0.5384 MB / 311.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.1388, allocations: 380.8 kB / 311.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.1393, allocations: 0.9401 MB / 312.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.1393, allocations: 49.7 kB / 312.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1395, allocations: 0.4956 MB / 313.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.1396, allocations: 408.5 kB / 313.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1398, allocations: 307.3 kB / 314 MB, free: 2.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.1398, allocations: 305.1 kB / 314.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1399, allocations: 143.9 kB / 314.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.1403, allocations: 0.954 MB / 315.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.1408, allocations: 0.8511 MB / 316.2 MB, free: 68 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1408, allocations: 7.938 kB / 316.2 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0007627/0.1415, allocations: 0.8094 MB / 317 MB, free: 15.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1415, allocations: 12 kB / 317 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1416, allocations: 12 kB / 317 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1416, allocations: 20 kB / 317.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.1426, allocations: 491.3 kB / 317.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.1426, allocations: 23.94 kB / 317.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.1429, allocations: 147 kB / 317.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.1429, allocations: 48.5 kB / 317.7 MB, free: 14.52 MB / 282.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.0001997/0.1431, allocations: 219.3 kB / 318 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1432, allocations: 114 kB / 318.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.1439, allocations: 0.6419 MB / 318.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1439, allocations: 12 kB / 318.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1439, allocations: 3.984 kB / 318.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1439, allocations: 3.984 kB / 318.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.1447, allocations: 0.6023 MB / 319.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1447, allocations: 7.984 kB / 319.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.1457, allocations: 423.5 kB / 319.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1458, allocations: 4.75 kB / 319.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.1458, allocations: 35.98 kB / 319.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1458, allocations: 7.938 kB / 319.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1458, allocations: 3.938 kB / 319.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.1465, allocations: 0.8443 MB / 320.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1466, allocations: 130.8 kB / 320.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.1467, allocations: 29.69 kB / 320.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1469, allocations: 35.98 kB / 320.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.147, allocations: 80.44 kB / 320.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.147, allocations: 23.98 kB / 320.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.1473, allocations: 438.6 kB / 321.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1473, allocations: 0 / 321.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.1477, allocations: 255.5 kB / 321.6 MB, free: 10.59 MB / 282.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.0001144/0.1478, allocations: 132.2 kB / 321.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005566/0.1484, allocations: 0.6125 MB / 322.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.1484, allocations: 16.5 kB / 322.4 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1487, allocations: 284.3 kB / 322.7 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1491, allocations: 167.5 kB / 322.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.1515, allocations: 2.571 MB / 325.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.1516, allocations: 257 kB / 325.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.152, allocations: 189.5 kB / 325.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.1524, allocations: 291.3 kB / 326.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1524, allocations: 0 / 326.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of Templates: time 0.01473/0.1671, allocations: 10.5 MB / 336.6 MB, free: 11.77 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.968445344362408]