Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0006834/0.0006834, 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.000725/0.000725, allocations: 165.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.8262/0.8262, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.00141/0.00141, allocations: 229.9 kB / 259.4 MB, free: 13.04 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.647/0.647, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6464 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.914e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002257/0.002276, allocations: 1.442 MB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2131/0.2154, allocations: 2.676 MB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.2154, allocations: 0.8438 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2154, allocations: 5.109 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.2155, allocations: 20.52 kB / 0.6504 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.2178, allocations: 1.644 MB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.2179, allocations: 49.38 kB / 0.6521 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.2179, allocations: 1.781 kB / 0.6521 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2179, allocations: 20.12 kB / 0.6521 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.369e-05/0.218, allocations: 17.47 kB / 0.6521 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.218, allocations: 0.9062 kB / 0.6521 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.2193, allocations: 1.487 MB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.2193, allocations: 1.75 kB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.2194, allocations: 13.61 kB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2204, allocations: 1.278 MB / 0.6548 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2204, allocations: 0.75 kB / 0.6548 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2204, allocations: 0 / 0.6548 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2204, allocations: 0 / 0.6548 GB, free: 54.06 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.0003484/0.2208, allocations: 471.3 kB / 0.6553 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2208, allocations: 10.41 kB / 0.6553 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.313e-05/0.2208, allocations: 106 kB / 0.6554 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2209, allocations: 85.41 kB / 0.6555 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/0.2209, allocations: 195.7 kB / 0.6557 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2209, allocations: 152.7 kB / 0.6558 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.221, allocations: 155 kB / 0.656 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.158e-05/0.221, allocations: 106 kB / 0.6561 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.221, allocations: 76.12 kB / 0.6561 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.221, allocations: 156.4 kB / 0.6563 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.221, allocations: 153.4 kB / 0.6564 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.32e-05/0.221, allocations: 150.6 kB / 0.6566 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.2212, allocations: 433 kB / 0.657 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.29e-05/0.2212, allocations: 172.4 kB / 0.6571 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.006e-05/0.2212, allocations: 85.67 kB / 0.6572 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2212, allocations: 77.03 kB / 0.6573 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.2212, allocations: 108.5 kB / 0.6574 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.2212, allocations: 3.938 kB / 0.6574 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.803e-05/0.2213, allocations: 36.03 kB / 0.6574 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.2213, allocations: 129.8 kB / 0.6576 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.2214, allocations: 140 kB / 0.6577 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-06/0.2214, allocations: 25.7 kB / 0.6577 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.2214, allocations: 88.22 kB / 0.6578 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.2214, allocations: 0 / 0.6578 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.2214, allocations: 21.5 kB / 0.6578 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.788e-05/0.2215, allocations: 323.5 kB / 0.6581 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.2215, allocations: 4.969 kB / 0.6581 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.2215, allocations: 6.266 kB / 0.6582 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.2215, allocations: 15.8 kB / 0.6582 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2215, allocations: 0 / 0.6582 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.601e-05/0.2216, allocations: 51.19 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2216, allocations: 9.594 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.2216, allocations: 5.891 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2216, allocations: 0 / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2217, allocations: 3.156 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2217, allocations: 0 / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.2217, allocations: 10.08 kB / 0.6582 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2217, allocations: 7.359 kB / 0.6582 GB, free: 50.61 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.588e-05/0.2217, allocations: 189.1 kB / 0.6584 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.2217, allocations: 110.5 kB / 0.6585 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.2218, allocations: 116.5 kB / 0.6586 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.2218, allocations: 183.1 kB / 0.6588 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.2218, allocations: 178.8 kB / 0.659 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.2218, allocations: 187 kB / 0.6592 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.818e-05/0.2219, allocations: 379.6 kB / 0.6595 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.2219, allocations: 104.1 kB / 0.6596 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-06/0.2219, allocations: 112 kB / 0.6597 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.2219, allocations: 176.3 kB / 0.6599 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2219, allocations: 190.7 kB / 0.6601 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.2219, allocations: 178.4 kB / 0.6603 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.2219, allocations: 179.8 kB / 0.6604 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.854e-05/0.222, allocations: 307.5 kB / 0.6607 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.222, allocations: 120 kB / 0.6608 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.222, allocations: 189.1 kB / 0.661 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.222, allocations: 103.5 kB / 0.6611 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.2221, allocations: 183.2 kB / 0.6613 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2221, allocations: 102.1 kB / 0.6614 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.2221, allocations: 108.5 kB / 0.6615 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2221, allocations: 1.969 kB / 0.6615 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004023/0.2225, allocations: 294.4 kB / 0.6618 GB, free: 47.1 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.0007846/0.2233, allocations: 1.231 MB / 0.663 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.772e-05/0.2234, allocations: 39.02 kB / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.2234, allocations: 0 / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2234, allocations: 0 / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2236, allocations: 469.8 kB / 0.6635 GB, free: 45.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.2243, allocations: 1.591 MB / 0.665 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.2243, allocations: 67.25 kB / 0.6651 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.028e-05/0.2243, allocations: 7.625 kB / 0.6651 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.2243, allocations: 19.22 kB / 0.6651 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.2243, allocations: 0 / 0.6651 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.244, allocations: 8.027 MB / 0.6729 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.127, allocations: 7.812 kB / 0.673 GB, free: 42.91 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.633704877458513] Failed to read output from testmodel.py, exit status != 0: 7.2103829914703965 7.218225721 6.99588687 Calling exit ...