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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 188.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.06413/0.06413, allocations: 11.34 MB / 317.6 MB, free: 13.74 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001936/0.001936, allocations: 67.89 kB / 443 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 54.89 MB / 497.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006065/0.1199, allocations: 4.429 MB / 0.4906 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.1237, allocations: 1.844 MB / 0.4924 GB, free: 9.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.1247, allocations: 98.88 kB / 0.4925 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.1251, allocations: 185.6 kB / 0.4926 GB, free: 8.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.1258, allocations: 182.1 kB / 0.4928 GB, free: 8.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1278, allocations: 0.9827 MB / 0.4938 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1297, allocations: 1.624 MB / 0.4954 GB, free: 6.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005166/0.1302, allocations: 313.2 kB / 0.4957 GB, free: 5.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.131, allocations: 0.6809 MB / 0.4963 GB, free: 5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/0.1317, allocations: 0.6097 MB / 0.4969 GB, free: 4.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.1318, allocations: 128 kB / 0.497 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.132, allocations: 128 kB / 0.4972 GB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.1323, allocations: 326.7 kB / 0.4975 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.1329, allocations: 0.6482 MB / 0.4981 GB, free: 3.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1344, allocations: 1.38 MB / 0.4995 GB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1344, allocations: 4 kB / 0.4995 GB, free: 1.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1344, allocations: 0 / 0.4995 GB, free: 1.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.1344, allocations: 4 kB / 0.4995 GB, free: 1.77 MB / 366.1 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.003847/0.1383, allocations: 1.754 MB / 0.5012 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1383, allocations: 12.86 kB / 0.5012 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.1387, allocations: 183.8 kB / 0.5014 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1408, allocations: 0.975 MB / 0.5023 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.141, allocations: 312.7 kB / 0.5026 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.1413, allocations: 140.3 kB / 0.5028 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.1434, allocations: 1.295 MB / 0.504 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.1434, allocations: 7.875 kB / 0.504 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1435, allocations: 52 kB / 0.5041 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.1435, allocations: 28 kB / 0.5041 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.1451, allocations: 0.7843 MB / 0.5049 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006951/0.152, allocations: 5.243 MB / 0.51 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.1538, allocations: 0.7999 MB / 0.5108 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.1545, allocations: 394.3 kB / 0.5111 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.1545, allocations: 25.05 kB / 0.5112 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.1546, allocations: 47.5 kB / 0.5112 GB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 7.814e-06/0.1546, allocations: 7.938 kB / 0.5112 GB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.002185/0.1568, allocations: 1.093 MB / 0.5123 GB, free: 4.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000276/0.1571, allocations: 376.8 kB / 0.5126 GB, free: 3.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.1585, allocations: 1.02 MB / 0.5136 GB, free: 2.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1586, allocations: 49.7 kB / 0.5137 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.1592, allocations: 0.6654 MB / 0.5143 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.1597, allocations: 396.7 kB / 0.5147 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000463/0.1601, allocations: 303.5 kB / 0.515 GB, free: 1.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1603, allocations: 305.1 kB / 0.5153 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.1609, allocations: 367.8 kB / 0.5156 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2729/0.4338, allocations: 0.861 MB / 0.5165 GB, free: 30.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.4354, allocations: 1.218 MB / 0.5177 GB, free: 29.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.4354, allocations: 3.406 kB / 0.5177 GB, free: 29.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002019/0.4374, allocations: 1.382 MB / 0.519 GB, free: 29.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4375, allocations: 10.16 kB / 0.519 GB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4375, allocations: 12.78 kB / 0.5191 GB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.4375, allocations: 23.84 kB / 0.5191 GB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.4391, allocations: 357.3 kB / 0.5194 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-05/0.4392, allocations: 31.22 kB / 0.5194 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.4399, allocations: 153 kB / 0.5196 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.44, allocations: 63.89 kB / 0.5197 GB, free: 29.53 MB / 382.1 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_FS.satLOW_in,R_FS.satHIGH_in,R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.satLOW_in,R_Osc.satHIGH_in,R_Osc.ATreq_in,R_US.satLOW_in,R_US.satHIGH_in,R_US.ATreq_in,R_OS.satLOW_in,R_OS.satHIGH_in,R_OS.ATreq_in,R_iD.satLOW_in,R_iD.satHIGH_in,R_iD.ATreq_in,R_i.satLOW_in,R_i.satHIGH_in,R_i.ATreq_in,R_FOD.satLOW_in,R_FOD.satHIGH_in,R_FOD.ATreq_in,R_FO.satLOW_in,R_FO.satHIGH_in,R_FO.ATreq_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.0005745/0.4406, allocations: 307.9 kB / 0.5199 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.4409, allocations: 140.3 kB / 0.5201 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.4431, allocations: 1.059 MB / 0.5211 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4431, allocations: 10.47 kB / 0.5211 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4431, allocations: 0 / 0.5211 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.4431, allocations: 11.02 kB / 0.5211 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.4449, allocations: 1.09 MB / 0.5222 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.4449, allocations: 0 / 0.5222 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.4467, allocations: 307.2 kB / 0.5225 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.4467, allocations: 5.797 kB / 0.5225 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4468, allocations: 32.41 kB / 0.5225 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.4469, allocations: 3.812 kB / 0.5225 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4469, allocations: 3.125 kB / 0.5225 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.4492, allocations: 1.473 MB / 0.524 GB, free: 28.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.4494, allocations: 144.4 kB / 0.5241 GB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.4496, allocations: 29.56 kB / 0.5241 GB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.4501, allocations: 29.81 kB / 0.5242 GB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4503, allocations: 83.94 kB / 0.5242 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.4504, allocations: 34.17 kB / 0.5243 GB, free: 28.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.4514, allocations: 0.6289 MB / 0.5249 GB, free: 28.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4514, allocations: 0 / 0.5249 GB, free: 28.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4529, allocations: 262.6 kB / 0.5251 GB, free: 28.65 MB / 382.1 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.0002074/0.4531, allocations: 142.5 kB / 0.5253 GB, free: 28.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.4552, allocations: 0.925 MB / 0.5262 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4552, allocations: 1.031 kB / 0.5262 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.456, allocations: 435.8 kB / 0.5266 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009362/0.4569, allocations: 153.8 kB / 0.5267 GB, free: 27.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.4634, allocations: 2.889 MB / 0.5296 GB, free: 26.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.4646, allocations: 1.194 MB / 0.5307 GB, free: 25.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4658, allocations: 190 kB / 0.5309 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.4661, allocations: 106.2 kB / 0.531 GB, free: 25.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.4661, allocations: 0 / 0.531 GB, free: 25.7 MB / 382.1 MB Notification: Performance of Templates: time 0.02375/0.4899, allocations: 9.994 MB / 0.5408 GB, free: 22.8 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.50376929808408] Failed to read output from testmodel.py, exit status != 0: 0.4976548459380865 0.507464257 0.37076291899999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff315b357b0>