Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.0009091/0.0009091, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009927/0.0009927, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7999/0.7999, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001608/0.001608, allocations: 74.44 kB / 0.7183 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5885, allocations: 102 MB / 0.8179 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002342/0.5908, allocations: 1.436 MB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.5946, allocations: 2.647 MB / 0.8219 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.5947, allocations: 0 / 0.8219 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.5947, allocations: 5.625 kB / 0.8219 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.5948, allocations: 16.48 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.5985, allocations: 1.604 MB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5986, allocations: 43.42 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.5987, allocations: 7.109 kB / 0.8235 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.5987, allocations: 13.72 kB / 0.8235 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.5987, allocations: 16.67 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.5987, allocations: 2.062 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.6012, allocations: 1.443 MB / 0.8249 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.6012, allocations: 10.47 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.6012, allocations: 12.44 kB / 0.825 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.6031, allocations: 1.082 MB / 0.826 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6031, allocations: 0 / 0.826 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6031, allocations: 1.344 kB / 0.826 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.6031, allocations: 4 kB / 0.826 GB, free: 12.71 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006972/0.6038, allocations: 465.3 kB / 0.8265 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6038, allocations: 9.688 kB / 0.8265 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.6039, allocations: 106.7 kB / 0.8266 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.6039, allocations: 83.27 kB / 0.8267 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6041, allocations: 199.6 kB / 0.8268 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.6041, allocations: 152.4 kB / 0.827 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.6042, allocations: 157.1 kB / 0.8271 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.244e-05/0.6042, allocations: 110.1 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.6042, allocations: 75.28 kB / 0.8273 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.6043, allocations: 156.3 kB / 0.8275 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.6043, allocations: 152 kB / 0.8276 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.6044, allocations: 150.6 kB / 0.8278 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.6047, allocations: 432.7 kB / 0.8282 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.6048, allocations: 179.5 kB / 0.8283 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.6048, allocations: 84.14 kB / 0.8284 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.6048, allocations: 81.03 kB / 0.8285 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.6049, allocations: 107.3 kB / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.6049, allocations: 0 / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.674e-05/0.605, allocations: 36.84 kB / 0.8286 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.605, allocations: 132.3 kB / 0.8288 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.6052, allocations: 132.3 kB / 0.8289 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.6052, allocations: 27.05 kB / 0.8289 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.6052, allocations: 92.66 kB / 0.829 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.6052, allocations: 0 / 0.829 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.6053, allocations: 19.5 kB / 0.829 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6054, allocations: 315.3 kB / 0.8293 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.6054, allocations: 6.625 kB / 0.8293 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.6054, allocations: 4.656 kB / 0.8293 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.6055, allocations: 15.02 kB / 0.8293 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6055, allocations: 0 / 0.8293 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.6056, allocations: 58.09 kB / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6057, allocations: 5.281 kB / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.6057, allocations: 3.359 kB / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6057, allocations: 0 / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.6057, allocations: 0 / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6057, allocations: 1.844 kB / 0.8294 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.6057, allocations: 9.047 kB / 0.8294 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.6058, allocations: 1.406 kB / 0.8294 GB, free: 9.234 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.907e-05/0.6059, allocations: 183.5 kB / 0.8296 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.6059, allocations: 112.4 kB / 0.8297 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.606, allocations: 120.8 kB / 0.8298 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.606, allocations: 178.2 kB / 0.83 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/0.6061, allocations: 178.5 kB / 0.8302 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/0.6061, allocations: 186.3 kB / 0.8303 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.6063, allocations: 388.3 kB / 0.8307 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/0.6063, allocations: 106.7 kB / 0.8308 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.6063, allocations: 103.5 kB / 0.8309 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.843e-05/0.6064, allocations: 178.6 kB / 0.8311 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.6064, allocations: 181.5 kB / 0.8312 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.225e-05/0.6065, allocations: 187 kB / 0.8314 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.767e-05/0.6065, allocations: 182 kB / 0.8316 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.6067, allocations: 316.2 kB / 0.8319 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.6067, allocations: 116.7 kB / 0.832 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.6068, allocations: 179.8 kB / 0.8322 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.6068, allocations: 105.7 kB / 0.8323 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.6069, allocations: 179.7 kB / 0.8325 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.6069, allocations: 106.9 kB / 0.8326 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.607, allocations: 102 kB / 0.8327 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.607, allocations: 0 / 0.8327 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009764/0.608, allocations: 290.9 kB / 0.8329 GB, free: 5.719 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.001297/0.6093, allocations: 1.185 MB / 0.8341 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.6094, allocations: 34.14 kB / 0.8341 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6094, allocations: 5.656 kB / 0.8341 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.6094, allocations: 0 / 0.8341 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.6098, allocations: 462.5 kB / 0.8346 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6112, allocations: 1.584 MB / 0.8361 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.6113, allocations: 70.14 kB / 0.8362 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.6113, allocations: 0.75 kB / 0.8362 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.6113, allocations: 15.34 kB / 0.8362 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.6113, allocations: 0 / 0.8362 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.643, allocations: 7.622 MB / 0.8436 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/7.388, allocations: 5.094 kB / 0.8436 GB, free: 15.91 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.54923949809745] Failed to read output from testmodel.py, exit status != 0: 7.4705636710859835 7.480318819 6.87515083 Calling exit ...