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.001066/0.001066, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007936/0.0007936, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8869/0.8869, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03483/0.03483, allocations: 8.608 MB / 267.8 MB, free: 5.133 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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 395.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.129e-05, allocations: 2.281 kB / 395.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003746/0.003767, allocations: 3.866 MB / 398.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.006413, allocations: 1.817 MB / 400.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.006923, allocations: 102.9 kB / 400.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.007194, allocations: 197.5 kB / 401 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.007571, allocations: 178.1 kB / 401.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.008861, allocations: 0.9943 MB / 402.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.0101, allocations: 1.639 MB / 403.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.01053, allocations: 305.2 kB / 404.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009132/0.01144, allocations: 0.943 MB / 405.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.01185, allocations: 438.2 kB / 405.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.01198, allocations: 128 kB / 405.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.01212, allocations: 128 kB / 405.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01228, allocations: 330.6 kB / 406.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.0125, allocations: 402.6 kB / 406.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009111/0.01342, allocations: 1.397 MB / 407.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01342, allocations: 4 kB / 407.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.01342, allocations: 0 / 407.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.01345, allocations: 0 / 407.9 MB, free: 4.59 MB / 330.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.001954/0.0154, allocations: 1.739 MB / 409.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01544, allocations: 12.03 kB / 409.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.01557, allocations: 173.1 kB / 409.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.01581, allocations: 187.8 kB / 410 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.01691, allocations: 0.9782 MB / 411 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.01706, allocations: 308.7 kB / 411.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.0172, allocations: 140.3 kB / 411.4 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1373/0.1545, allocations: 1.589 MB / 413 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1546, allocations: 6.469 kB / 413 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.1546, allocations: 53.58 kB / 413.1 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1547, allocations: 28.38 kB / 413.1 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1558, allocations: 0.7829 MB / 413.9 MB, free: 27.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.1595, allocations: 4.959 MB / 418.8 MB, free: 24.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1605, allocations: 0.8003 MB / 419.6 MB, free: 23.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.1609, allocations: 394.2 kB / 420 MB, free: 23.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.161, allocations: 17.77 kB / 420 MB, free: 23.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.161, allocations: 45.31 kB / 420.1 MB, free: 23.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.537e-06/0.161, allocations: 0 / 420.1 MB, free: 23.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.001291/0.1623, allocations: 1.103 MB / 421.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1623, allocations: 378.5 kB / 421.5 MB, free: 22.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.1632, allocations: 1.039 MB / 422.6 MB, free: 22.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1632, allocations: 56.33 kB / 422.6 MB, free: 22.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.1635, allocations: 0.6603 MB / 423.3 MB, free: 21.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.1637, allocations: 399.3 kB / 423.7 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.164, allocations: 300 kB / 424 MB, free: 21.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.164, allocations: 305.8 kB / 424.3 MB, free: 21.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.1645, allocations: 365.2 kB / 424.6 MB, free: 20.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.1651, allocations: 1.17 MB / 425.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.1662, allocations: 1.21 MB / 427 MB, free: 18.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1662, allocations: 8.219 kB / 427 MB, free: 18.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00151/0.1677, allocations: 1.391 MB / 428.4 MB, free: 18.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1677, allocations: 10.34 kB / 428.4 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1677, allocations: 17.23 kB / 428.4 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.1678, allocations: 21.78 kB / 428.5 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.1686, allocations: 357 kB / 428.8 MB, free: 18.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/0.1686, allocations: 32.12 kB / 428.8 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.169, allocations: 148.6 kB / 429 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.1691, allocations: 65.02 kB / 429 MB, free: 18.11 MB / 330.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_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.0003539/0.1695, allocations: 307 kB / 429.3 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1696, allocations: 140.4 kB / 429.5 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.1708, allocations: 1.057 MB / 430.5 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.1709, allocations: 10.47 kB / 430.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1709, allocations: 0.7969 kB / 430.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.1709, allocations: 6.344 kB / 430.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.172, allocations: 0.9529 MB / 431.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.172, allocations: 0 / 431.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009813/0.173, allocations: 307.1 kB / 431.8 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.173, allocations: 4 kB / 431.8 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.1731, allocations: 38.72 kB / 431.9 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.1731, allocations: 9.891 kB / 431.9 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1731, allocations: 0 / 431.9 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1745, allocations: 1.464 MB / 433.3 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1747, allocations: 143.6 kB / 433.5 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.1747, allocations: 33.86 kB / 433.5 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.175, allocations: 30.86 kB / 433.5 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.1752, allocations: 81.83 kB / 433.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.1752, allocations: 33.12 kB / 433.6 MB, free: 16.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006215/0.1758, allocations: 0.6294 MB / 434.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1758, allocations: 7.609 kB / 434.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006879/0.1765, allocations: 258.8 kB / 434.5 MB, free: 15.67 MB / 330.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.001641/0.1781, allocations: 2.057 MB / 436.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.1792, allocations: 0.9336 MB / 437.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1792, allocations: 1.812 kB / 437.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.1796, allocations: 431.4 kB / 437.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1801, allocations: 150.8 kB / 438.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.1887, allocations: 10.62 MB / 448.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1889, allocations: 0.6074 MB / 449.3 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.1894, allocations: 193.6 kB / 449.5 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.1898, allocations: 0.5784 MB / 450.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1898, allocations: 0 / 450.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.2296, allocations: 23.23 MB / 473.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.706, allocations: 12.05 kB / 473.3 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.016 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.542900030501187] Failed to read output from testmodel.py, exit status != 0: 7.800210651010275 7.809825672 7.79455302 Calling exit ...