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.001699/0.001699, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001613/0.001613, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.973 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.06634/0.06634, allocations: 11.35 MB / 323.8 MB, free: 8.223 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.002095/0.002095, allocations: 72.17 kB / 451 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 56.07 MB / 0.4952 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006207/0.1161, allocations: 4.447 MB / 0.4996 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.12, allocations: 1.84 MB / 0.5014 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1213, allocations: 102.9 kB / 0.5015 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.122, allocations: 185.6 kB / 0.5016 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009493/0.1229, allocations: 186.1 kB / 0.5018 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.1255, allocations: 0.9814 MB / 0.5028 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.1281, allocations: 1.624 MB / 0.5044 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.1288, allocations: 321.4 kB / 0.5047 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.13, allocations: 0.6809 MB / 0.5053 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.1308, allocations: 0.6019 MB / 0.5059 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.131, allocations: 128 kB / 0.506 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1312, allocations: 128 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.1314, allocations: 334.6 kB / 0.5065 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.132, allocations: 0.6404 MB / 0.5071 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1335, allocations: 1.392 MB / 0.5085 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1335, allocations: 0 / 0.5085 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1335, allocations: 0 / 0.5085 GB, free: 4.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.1335, allocations: 0 / 0.5085 GB, free: 4.699 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.003227/0.1368, allocations: 1.751 MB / 0.5102 GB, free: 2.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1368, allocations: 12.03 kB / 0.5102 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.137, allocations: 173.1 kB / 0.5103 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.1373, allocations: 191.8 kB / 0.5105 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.1391, allocations: 0.9711 MB / 0.5115 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.1394, allocations: 312.7 kB / 0.5118 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.1396, allocations: 140.3 kB / 0.5119 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1804/0.32, allocations: 1.292 MB / 0.5132 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.3201, allocations: 7.406 kB / 0.5132 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3202, allocations: 45.81 kB / 0.5132 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.3202, allocations: 29.03 kB / 0.5133 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3215, allocations: 0.7862 MB / 0.514 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.3263, allocations: 5.241 MB / 0.5191 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3276, allocations: 0.8115 MB / 0.5199 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.3281, allocations: 397.1 kB / 0.5203 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.548e-05/0.3282, allocations: 17.23 kB / 0.5203 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3282, allocations: 46.75 kB / 0.5204 GB, free: 19.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.414e-06/0.3282, allocations: 0 / 0.5204 GB, free: 19.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001671/0.3299, allocations: 1.109 MB / 0.5215 GB, free: 19.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.33, allocations: 377.6 kB / 0.5218 GB, free: 18.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.331, allocations: 1.013 MB / 0.5228 GB, free: 18.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.3311, allocations: 47.8 kB / 0.5228 GB, free: 18.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.3315, allocations: 0.6655 MB / 0.5235 GB, free: 17.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.3317, allocations: 406.3 kB / 0.5239 GB, free: 17.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3321, allocations: 298.1 kB / 0.5242 GB, free: 17.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.3321, allocations: 301.8 kB / 0.5245 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.3327, allocations: 373.4 kB / 0.5248 GB, free: 16.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/0.3335, allocations: 0.8585 MB / 0.5257 GB, free: 16.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3348, allocations: 1.221 MB / 0.5268 GB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.3348, allocations: 4.031 kB / 0.5268 GB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002079/0.3368, allocations: 1.384 MB / 0.5282 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3369, allocations: 12.75 kB / 0.5282 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3369, allocations: 16.78 kB / 0.5282 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-05/0.3369, allocations: 23.19 kB / 0.5283 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3384, allocations: 356.8 kB / 0.5286 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.344e-05/0.3385, allocations: 30.83 kB / 0.5286 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.3392, allocations: 158.8 kB / 0.5288 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.3393, allocations: 64.73 kB / 0.5288 GB, free: 14.49 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.0004279/0.3397, allocations: 306.7 kB / 0.5291 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.3399, allocations: 142.2 kB / 0.5293 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.3417, allocations: 1.052 MB / 0.5303 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3417, allocations: 11.5 kB / 0.5303 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3417, allocations: 1.422 kB / 0.5303 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3417, allocations: 7.094 kB / 0.5303 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.343, allocations: 1.089 MB / 0.5314 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.343, allocations: 0 / 0.5314 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.3448, allocations: 308.9 kB / 0.5317 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3448, allocations: 4.031 kB / 0.5317 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.3449, allocations: 38.44 kB / 0.5317 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.3449, allocations: 3.969 kB / 0.5317 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3449, allocations: 1.703 kB / 0.5317 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.3469, allocations: 1.463 MB / 0.5331 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.3471, allocations: 148.4 kB / 0.5333 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.3472, allocations: 35.78 kB / 0.5333 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.3477, allocations: 28.95 kB / 0.5333 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3479, allocations: 80.5 kB / 0.5334 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.3479, allocations: 29.42 kB / 0.5335 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.3488, allocations: 0.637 MB / 0.5341 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3488, allocations: 0 / 0.5341 GB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3498, allocations: 255.8 kB / 0.5343 GB, free: 12.02 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.002202/0.352, allocations: 2.064 MB / 0.5363 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3537, allocations: 0.9237 MB / 0.5372 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3537, allocations: 0 / 0.5372 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.3544, allocations: 432.1 kB / 0.5376 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.3551, allocations: 146.4 kB / 0.5378 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.3686, allocations: 10.82 MB / 0.5484 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.3691, allocations: 1.196 MB / 0.5495 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006093/0.3697, allocations: 185.6 kB / 0.5497 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.3703, allocations: 0.5788 MB / 0.5503 GB, free: 3.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3703, allocations: 4 kB / 0.5503 GB, free: 3.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06088/0.4312, allocations: 23.33 MB / 0.5731 GB, free: 12.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.03, allocations: 8.984 kB / 0.5731 GB, free: 12.43 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.78956243700668] Failed to read output from testmodel.py, exit status != 0: 14.151368927996373 14.168069999 14.031104707 Calling exit ...