Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0009327/0.0009327, 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.0009873/0.0009873, allocations: 208.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 0.9045/0.9045, allocations: 230.6 MB / 256 MB, free: 9.598 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.7736/0.7736, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.0009175/0.0009175, allocations: 63.66 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.438, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002995/0.441, allocations: 2.851 MB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4431, allocations: 1.948 MB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.4432, allocations: 7.438 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4443, allocations: 481 kB / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.4445, allocations: 141 kB / 0.8231 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.966e-05/0.4446, allocations: 56.59 kB / 0.8232 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.445, allocations: 453.7 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.4451, allocations: 98.12 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.4454, allocations: 170.1 kB / 0.8239 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.4456, allocations: 160.4 kB / 0.824 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.4456, allocations: 34.03 kB / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.4456, allocations: 37.72 kB / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.4457, allocations: 94.91 kB / 0.8242 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.4459, allocations: 169.5 kB / 0.8243 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.4464, allocations: 0.5553 MB / 0.8249 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4464, allocations: 0 / 0.8249 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4464, allocations: 0.9688 kB / 0.8249 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.4464, allocations: 0 / 0.8249 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007575/0.4472, allocations: 0.6413 MB / 0.8255 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4472, allocations: 10.25 kB / 0.8255 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.4473, allocations: 59.08 kB / 0.8256 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.4473, allocations: 46.28 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.4477, allocations: 315.7 kB / 0.8259 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4478, allocations: 18 kB / 0.8259 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4478, allocations: 23.19 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.4481, allocations: 202.8 kB / 0.8262 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4481, allocations: 5.609 kB / 0.8262 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4481, allocations: 10.88 kB / 0.8262 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4481, allocations: 4.094 kB / 0.8262 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.4483, allocations: 166.5 kB / 0.8263 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.4491, allocations: 0.6814 MB / 0.827 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.4493, allocations: 148.3 kB / 0.8271 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4495, allocations: 103.3 kB / 0.8272 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4495, allocations: 1.188 kB / 0.8272 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4495, allocations: 37.72 kB / 0.8273 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.4495, allocations: 0 / 0.8273 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000385/0.4499, allocations: 260.4 kB / 0.8275 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4499, allocations: 54.12 kB / 0.8276 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.4503, allocations: 412.2 kB / 0.828 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4503, allocations: 30.98 kB / 0.828 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4504, allocations: 204.6 kB / 0.8282 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.4504, allocations: 63.05 kB / 0.8283 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.4505, allocations: 34.84 kB / 0.8283 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.4506, allocations: 353.2 kB / 0.8286 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.4507, allocations: 56.72 kB / 0.8287 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.4508, allocations: 57.27 kB / 0.8287 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4509, allocations: 134.2 kB / 0.8289 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4509, allocations: 1.5 kB / 0.8289 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002337/0.4512, allocations: 215 kB / 0.8291 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4512, allocations: 7.031 kB / 0.8291 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4512, allocations: 3.938 kB / 0.8291 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4512, allocations: 1.062 kB / 0.8291 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4514, allocations: 54.47 kB / 0.8291 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4514, allocations: 1.312 kB / 0.8291 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.4514, allocations: 20.45 kB / 0.8292 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4515, allocations: 8.594 kB / 0.8292 GB, free: 9.883 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 (20): * Single equations (assignments): 20 * 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.0001107/0.4516, allocations: 161.2 kB / 0.8293 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4516, allocations: 44.22 kB / 0.8294 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.4517, allocations: 45.97 kB / 0.8294 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4517, allocations: 1.188 kB / 0.8294 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4517, allocations: 4 kB / 0.8294 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.4517, allocations: 2.562 kB / 0.8294 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.4519, allocations: 307.3 kB / 0.8297 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4519, allocations: 1.125 kB / 0.8297 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4521, allocations: 54.55 kB / 0.8298 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4521, allocations: 1.594 kB / 0.8298 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.4521, allocations: 13.86 kB / 0.8298 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4521, allocations: 0 / 0.8298 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4521, allocations: 1.438 kB / 0.8298 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.4525, allocations: 376.6 kB / 0.8301 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.4526, allocations: 39.22 kB / 0.8302 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4526, allocations: 9.609 kB / 0.8302 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.4527, allocations: 6.312 kB / 0.8302 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.4528, allocations: 14.28 kB / 0.8302 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4528, allocations: 8.484 kB / 0.8302 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002942/0.4531, allocations: 303.1 kB / 0.8305 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4531, allocations: 0.5625 kB / 0.8305 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002453/0.4533, allocations: 75.81 kB / 0.8306 GB, free: 9.008 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0006263/0.4539, allocations: 0.9114 MB / 0.8315 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4542, allocations: 148 kB / 0.8316 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4542, allocations: 0.5 kB / 0.8316 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.4543, allocations: 76 kB / 0.8317 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.4547, allocations: 99.61 kB / 0.8318 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.4578, allocations: 3.491 MB / 0.8352 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.458, allocations: 194.8 kB / 0.8354 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.4581, allocations: 34.88 kB / 0.8354 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.4584, allocations: 114.2 kB / 0.8355 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.4584, allocations: 1.375 kB / 0.8355 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.4831, allocations: 8.945 MB / 0.8442 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.112, allocations: 10.33 kB / 0.8442 GB, free: 2.316 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.95841562282294] Failed to read output from testmodel.py, exit status != 0: 7.191917637363076 7.20524638 6.756565313 Calling exit ...