Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007241/0.0007241, 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.0007339/0.0007339, 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.8283/0.8283, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001373/0.001373, allocations: 240 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6491/0.6491, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 4 kB / 0.6464 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.458e-05, allocations: 8.891 kB / 0.6464 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001749/0.001774, allocations: 1.431 MB / 0.6478 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2221/0.2239, allocations: 2.633 MB / 0.6504 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.2239, allocations: 1.312 kB / 0.6504 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.2239, allocations: 2.328 kB / 0.6504 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.224, allocations: 20.56 kB / 0.6504 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.2265, allocations: 1.624 MB / 0.652 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.2266, allocations: 40.38 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.2266, allocations: 4.734 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.2267, allocations: 18.72 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.2267, allocations: 12.77 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2267, allocations: 2.031 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.2281, allocations: 1.455 MB / 0.6535 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.2281, allocations: 7.188 kB / 0.6535 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.2281, allocations: 11.53 kB / 0.6535 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2292, allocations: 1.239 MB / 0.6547 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2292, allocations: 0 / 0.6547 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2292, allocations: 1.844 kB / 0.6547 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2292, allocations: 0 / 0.6547 GB, free: 54.04 MB / 0.5573 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.0003491/0.2295, allocations: 471.4 kB / 0.6551 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2296, allocations: 11.66 kB / 0.6551 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.111e-05/0.2296, allocations: 106 kB / 0.6552 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2296, allocations: 83.95 kB / 0.6553 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.42e-05/0.2297, allocations: 207.1 kB / 0.6555 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2297, allocations: 150.9 kB / 0.6557 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2297, allocations: 153.7 kB / 0.6558 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.093e-05/0.2297, allocations: 103.3 kB / 0.6559 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2297, allocations: 75.47 kB / 0.656 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2298, allocations: 155.8 kB / 0.6561 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2298, allocations: 150.6 kB / 0.6563 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.2298, allocations: 153.4 kB / 0.6564 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2299, allocations: 436.7 kB / 0.6568 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.2299, allocations: 167 kB / 0.657 GB, free: 51.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.23, allocations: 87.75 kB / 0.6571 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.23, allocations: 76.31 kB / 0.6572 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.23, allocations: 109.4 kB / 0.6573 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.23, allocations: 0 / 0.6573 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.653e-05/0.23, allocations: 39.5 kB / 0.6573 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2301, allocations: 129.4 kB / 0.6574 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.2301, allocations: 128.6 kB / 0.6575 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-06/0.2301, allocations: 29.7 kB / 0.6576 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.2302, allocations: 88.55 kB / 0.6577 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2302, allocations: 2.844 kB / 0.6577 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.2302, allocations: 19.03 kB / 0.6577 GB, free: 50.97 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.779e-05/0.2302, allocations: 319.2 kB / 0.658 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.2302, allocations: 4.969 kB / 0.658 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.2302, allocations: 11.22 kB / 0.658 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.2303, allocations: 10.64 kB / 0.658 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2303, allocations: 0 / 0.658 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.761e-05/0.2304, allocations: 57.2 kB / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2304, allocations: 9.75 kB / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2304, allocations: 2.469 kB / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2304, allocations: 0 / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2304, allocations: 3.25 kB / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2304, allocations: 4.234 kB / 0.6581 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.2304, allocations: 3.938 kB / 0.6581 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2304, allocations: 2.125 kB / 0.6581 GB, free: 50.59 MB / 0.5573 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 3.575e-05/0.2305, allocations: 184.1 kB / 0.6583 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.2305, allocations: 108.2 kB / 0.6584 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.2305, allocations: 124 kB / 0.6585 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.2305, allocations: 180.3 kB / 0.6587 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.2305, allocations: 186.5 kB / 0.6588 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.2305, allocations: 177.3 kB / 0.659 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.007e-05/0.2306, allocations: 383.8 kB / 0.6594 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2306, allocations: 108.2 kB / 0.6595 GB, free: 49.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-06/0.2306, allocations: 101.6 kB / 0.6596 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.2306, allocations: 185.4 kB / 0.6597 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2307, allocations: 182.3 kB / 0.6599 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.2307, allocations: 178.2 kB / 0.6601 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.2307, allocations: 187.4 kB / 0.6603 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.704e-05/0.2307, allocations: 306.3 kB / 0.6606 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.2307, allocations: 105.2 kB / 0.6607 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2308, allocations: 191.6 kB / 0.6608 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.2308, allocations: 111.3 kB / 0.661 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.2308, allocations: 179.5 kB / 0.6611 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2308, allocations: 106.8 kB / 0.6612 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.2308, allocations: 99.95 kB / 0.6613 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2308, allocations: 0 / 0.6613 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003943/0.2312, allocations: 294.3 kB / 0.6616 GB, free: 47.09 MB / 0.5573 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.0007625/0.232, allocations: 1.211 MB / 0.6628 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.2321, allocations: 41.61 kB / 0.6628 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2321, allocations: 2.031 kB / 0.6628 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2321, allocations: 0 / 0.6628 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2323, allocations: 462.2 kB / 0.6633 GB, free: 45.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.233, allocations: 1.577 MB / 0.6648 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.233, allocations: 69.09 kB / 0.6649 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.233, allocations: 3.719 kB / 0.6649 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.2331, allocations: 19.33 kB / 0.6649 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2331, allocations: 0 / 0.6649 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.2522, allocations: 7.82 MB / 0.6725 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/7.058, allocations: 20.38 kB / 0.6726 GB, free: 42.91 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.604342795908451] Failed to read output from testmodel.py, exit status != 0: 7.150187715888023 7.168906412 6.935235136 Calling exit ...