Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 497.2 MB / 0.7812 GB, free: 12.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9243, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002137/0.9264, allocations: 1.453 MB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.9298, allocations: 2.928 MB / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.9299, allocations: 0 / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.9299, allocations: 7.219 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.93, allocations: 18.14 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.9334, allocations: 1.571 MB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.9335, allocations: 48.53 kB / 1.31 GB, free: 28.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.9336, allocations: 2.781 kB / 1.31 GB, free: 28.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.9336, allocations: 15.61 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/0.9336, allocations: 16.28 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.9336, allocations: 0 / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.9356, allocations: 1.577 MB / 1.311 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.9356, allocations: 7.938 kB / 1.312 GB, free: 27.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.9356, allocations: 24.02 kB / 1.312 GB, free: 27.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.9371, allocations: 1.117 MB / 1.313 GB, free: 27.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9371, allocations: 0 / 1.313 GB, free: 27.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9371, allocations: 0 / 1.313 GB, free: 27.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9371, allocations: 0 / 1.313 GB, free: 27.54 MB / 1.061 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.0005042/0.9376, allocations: 0.5364 MB / 1.313 GB, free: 27.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.9376, allocations: 8.438 kB / 1.313 GB, free: 27.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.9377, allocations: 108.9 kB / 1.313 GB, free: 26.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.9377, allocations: 80.17 kB / 1.313 GB, free: 26.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.9378, allocations: 260.8 kB / 1.314 GB, free: 26.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.9378, allocations: 150.9 kB / 1.314 GB, free: 26.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.9378, allocations: 154.9 kB / 1.314 GB, free: 26.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.812e-05/0.9379, allocations: 107.7 kB / 1.314 GB, free: 26.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9379, allocations: 75.28 kB / 1.314 GB, free: 26.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.9379, allocations: 150.6 kB / 1.314 GB, free: 25.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.9379, allocations: 150.6 kB / 1.314 GB, free: 25.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.9379, allocations: 158.5 kB / 1.314 GB, free: 25.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.9381, allocations: 469.2 kB / 1.315 GB, free: 25.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.9382, allocations: 167.9 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.9382, allocations: 91.36 kB / 1.315 GB, free: 24.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.9382, allocations: 79.22 kB / 1.315 GB, free: 24.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.9382, allocations: 109.8 kB / 1.315 GB, free: 24.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9382, allocations: 0 / 1.315 GB, free: 24.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.573e-05/0.9383, allocations: 36.5 kB / 1.315 GB, free: 24.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.9383, allocations: 126.7 kB / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.9384, allocations: 143.4 kB / 1.316 GB, free: 24.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.9384, allocations: 25.7 kB / 1.316 GB, free: 24.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.9385, allocations: 86.98 kB / 1.316 GB, free: 24.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.9385, allocations: 0 / 1.316 GB, free: 24.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.9385, allocations: 27.14 kB / 1.316 GB, free: 24.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.9385, allocations: 317.7 kB / 1.316 GB, free: 23.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.9385, allocations: 2.812 kB / 1.316 GB, free: 23.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.9386, allocations: 6.266 kB / 1.316 GB, free: 23.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.9386, allocations: 14.61 kB / 1.316 GB, free: 23.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9386, allocations: 0 / 1.316 GB, free: 23.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.9387, allocations: 60.03 kB / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.9387, allocations: 5 kB / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.9387, allocations: 12.08 kB / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9387, allocations: 0 / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.9387, allocations: 0 / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.9388, allocations: 0 / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.9388, allocations: 1.781 kB / 1.316 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.9388, allocations: 5.812 kB / 1.316 GB, free: 23.85 MB / 1.061 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 4.975e-05/0.9388, allocations: 187.7 kB / 1.316 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.9389, allocations: 118.8 kB / 1.316 GB, free: 23.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.9389, allocations: 115.2 kB / 1.317 GB, free: 23.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.9389, allocations: 180.3 kB / 1.317 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.9389, allocations: 182.7 kB / 1.317 GB, free: 23.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.939, allocations: 180.3 kB / 1.317 GB, free: 22.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.9391, allocations: 419.2 kB / 1.318 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.9391, allocations: 105 kB / 1.318 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.9391, allocations: 101 kB / 1.318 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/0.9392, allocations: 186.1 kB / 1.318 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.9392, allocations: 180.3 kB / 1.318 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-05/0.9392, allocations: 182.7 kB / 1.318 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-05/0.9392, allocations: 180.2 kB / 1.318 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.163e-05/0.9393, allocations: 320.1 kB / 1.319 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.9393, allocations: 184.6 kB / 1.319 GB, free: 20.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.9394, allocations: 180.2 kB / 1.319 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.9394, allocations: 106.9 kB / 1.319 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.9394, allocations: 180.3 kB / 1.319 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.9395, allocations: 108.9 kB / 1.319 GB, free: 20.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.9395, allocations: 107 kB / 1.32 GB, free: 20.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9395, allocations: 0 / 1.32 GB, free: 20.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007025/0.9402, allocations: 287.1 kB / 1.32 GB, free: 20.2 MB / 1.061 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.001089/0.9413, allocations: 1.177 MB / 1.321 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.9414, allocations: 41.77 kB / 1.321 GB, free: 19.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9414, allocations: 0 / 1.321 GB, free: 19.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.9414, allocations: 0 / 1.321 GB, free: 19.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.9417, allocations: 466.9 kB / 1.321 GB, free: 18.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.9428, allocations: 1.607 MB / 1.323 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.9428, allocations: 0.6834 MB / 1.324 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.9429, allocations: 4.031 kB / 1.324 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.9429, allocations: 18.41 kB / 1.324 GB, free: 16.62 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9429, allocations: 3.938 kB / 1.324 GB, free: 16.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.9739, allocations: 7.102 MB / 1.331 GB, free: 15.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/9.209, allocations: 12.62 kB / 1.331 GB, free: 15.87 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.23983397334814] Failed to read output from testmodel.py, exit status != 0: 9.281037928070873 9.30038043 8.359621863 Calling exit ...