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.001281/0.001281, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001472/0.001472, allocations: 213.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.785 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.06249/0.06249, allocations: 11.34 MB / 323.8 MB, free: 8.02 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.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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.88 kB / 451 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 56.06 MB / 0.4951 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005834/0.1177, allocations: 3.874 MB / 0.4989 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.1212, allocations: 1.805 MB / 0.5007 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006352/0.1219, allocations: 98.94 kB / 0.5008 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.1222, allocations: 185.6 kB / 0.501 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.1228, allocations: 190.1 kB / 0.5011 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1247, allocations: 0.9789 MB / 0.5021 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.1266, allocations: 1.624 MB / 0.5037 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.1272, allocations: 297.4 kB / 0.504 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.1282, allocations: 0.6886 MB / 0.5046 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000743/0.1289, allocations: 0.5434 MB / 0.5052 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.1291, allocations: 128 kB / 0.5053 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1294, allocations: 131.9 kB / 0.5054 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.1296, allocations: 322.8 kB / 0.5057 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.1301, allocations: 0.5124 MB / 0.5062 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.1316, allocations: 1.396 MB / 0.5076 GB, free: 5.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1316, allocations: 0 / 0.5076 GB, free: 5.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1316, allocations: 0 / 0.5076 GB, free: 5.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1316, allocations: 4 kB / 0.5076 GB, free: 5.316 MB / 382.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.003115/0.1347, allocations: 1.751 MB / 0.5093 GB, free: 3.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1347, allocations: 15.95 kB / 0.5093 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.1349, allocations: 169.1 kB / 0.5095 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.1352, allocations: 191.8 kB / 0.5097 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.137, allocations: 0.9828 MB / 0.5106 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.1373, allocations: 312.7 kB / 0.5109 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1375, allocations: 140.3 kB / 0.5111 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2203/0.3578, allocations: 1.597 MB / 0.5126 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.3578, allocations: 6.156 kB / 0.5126 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.3579, allocations: 47.12 kB / 0.5127 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.3579, allocations: 28.53 kB / 0.5127 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3591, allocations: 0.7768 MB / 0.5134 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.3635, allocations: 4.981 MB / 0.5183 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.3647, allocations: 0.7986 MB / 0.5191 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.3652, allocations: 394.7 kB / 0.5195 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/0.3653, allocations: 20.64 kB / 0.5195 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.3653, allocations: 49.88 kB / 0.5195 GB, free: 19.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.595e-06/0.3653, allocations: 2.469 kB / 0.5195 GB, free: 19.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.00152/0.3668, allocations: 1.098 MB / 0.5206 GB, free: 19.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.3669, allocations: 377.6 kB / 0.521 GB, free: 18.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.3678, allocations: 1.034 MB / 0.522 GB, free: 18.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3679, allocations: 51.23 kB / 0.522 GB, free: 18.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.3682, allocations: 0.6647 MB / 0.5227 GB, free: 18.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.3684, allocations: 403.9 kB / 0.5231 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.3687, allocations: 306.8 kB / 0.5234 GB, free: 17.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.3688, allocations: 301.8 kB / 0.5236 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.3693, allocations: 365 kB / 0.524 GB, free: 17.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.3702, allocations: 1.171 MB / 0.5251 GB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.3714, allocations: 1.217 MB / 0.5263 GB, free: 15.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3715, allocations: 3.625 kB / 0.5263 GB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001807/0.3733, allocations: 1.39 MB / 0.5277 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3733, allocations: 11.22 kB / 0.5277 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3733, allocations: 22.34 kB / 0.5277 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.3733, allocations: 21.19 kB / 0.5277 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3747, allocations: 351.6 kB / 0.5281 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.3747, allocations: 28.41 kB / 0.5281 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.3753, allocations: 152.2 kB / 0.5282 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.3754, allocations: 64.8 kB / 0.5283 GB, free: 14.39 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.000331/0.3757, allocations: 306 kB / 0.5286 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3759, allocations: 138.5 kB / 0.5287 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.3774, allocations: 1.06 MB / 0.5298 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3774, allocations: 9.25 kB / 0.5298 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3774, allocations: 0 / 0.5298 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3775, allocations: 10.75 kB / 0.5298 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3785, allocations: 0.9517 MB / 0.5307 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3785, allocations: 1.062 kB / 0.5307 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.3801, allocations: 303.2 kB / 0.531 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3801, allocations: 4.875 kB / 0.531 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.3802, allocations: 39.59 kB / 0.531 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3802, allocations: 4.844 kB / 0.5311 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3802, allocations: 4 kB / 0.5311 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.382, allocations: 1.465 MB / 0.5325 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3822, allocations: 140.3 kB / 0.5326 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3823, allocations: 34.45 kB / 0.5327 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.3828, allocations: 32.08 kB / 0.5327 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3829, allocations: 76.72 kB / 0.5328 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.383, allocations: 34.03 kB / 0.5328 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007419/0.3837, allocations: 0.6297 MB / 0.5334 GB, free: 12.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3837, allocations: 4 kB / 0.5334 GB, free: 12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.3846, allocations: 264.3 kB / 0.5337 GB, free: 11.92 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.002058/0.3866, allocations: 2.065 MB / 0.5357 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.3881, allocations: 0.9251 MB / 0.5366 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3881, allocations: 320 / 0.5366 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.3886, allocations: 438.1 kB / 0.537 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.3893, allocations: 148 kB / 0.5371 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.4026, allocations: 10.77 MB / 0.5477 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.4032, allocations: 0.608 MB / 0.5482 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006306/0.4038, allocations: 189.3 kB / 0.5484 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.4044, allocations: 0.582 MB / 0.549 GB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4044, allocations: 0 / 0.549 GB, free: 3.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/0.464, allocations: 23.07 MB / 0.5715 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.16, allocations: 9.953 kB / 0.5715 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.875650544185191] Failed to read output from testmodel.py, exit status != 0: 12.280622142832726 12.305431857 12.169381771 Calling exit ...