Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001536/0.001536, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002018/0.002018, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002119/0.002119, allocations: 63.91 kB / 1.15 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002399/1.006, allocations: 1.461 MB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00395/1.01, allocations: 2.931 MB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/1.01, allocations: 2.75 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/1.01, allocations: 11.88 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/1.01, allocations: 14.48 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/1.014, allocations: 1.614 MB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/1.014, allocations: 40.38 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/1.014, allocations: 5.844 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/1.015, allocations: 19.81 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/1.015, allocations: 11.56 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/1.015, allocations: 0.8438 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/1.018, allocations: 1.551 MB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/1.018, allocations: 13.42 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/1.018, allocations: 20.42 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/1.02, allocations: 1.1 MB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.02, allocations: 1.703 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.02, allocations: 0 / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.02, allocations: 0 / 1.33 GB, free: 20.06 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.0007584/1.021, allocations: 0.5403 MB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.021, allocations: 9.625 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.367e-05/1.021, allocations: 80.84 kB / 1.331 GB, free: 19.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/1.021, allocations: 106.7 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/1.021, allocations: 81.86 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.021, allocations: 252.4 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.021, allocations: 150.9 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/1.021, allocations: 156.9 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.59e-05/1.021, allocations: 108.9 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.021, allocations: 76.34 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/1.021, allocations: 155.3 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.021, allocations: 151.7 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/1.021, allocations: 154.5 kB / 1.332 GB, free: 18.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/1.022, allocations: 470 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/1.022, allocations: 174.5 kB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/1.022, allocations: 84.08 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/1.022, allocations: 75.8 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.022, allocations: 107.6 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/1.022, allocations: 4 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.317e-05/1.022, allocations: 33.28 kB / 1.333 GB, free: 17.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.022, allocations: 140 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.022, allocations: 126.6 kB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/1.022, allocations: 26.42 kB / 1.333 GB, free: 16.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/1.022, allocations: 92.2 kB / 1.333 GB, free: 16.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.022, allocations: 0 / 1.333 GB, free: 16.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/1.022, allocations: 15.7 kB / 1.333 GB, free: 16.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.022, allocations: 323.2 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/1.022, allocations: 3.469 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/1.022, allocations: 2.844 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/1.022, allocations: 15.83 kB / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.022, allocations: 0 / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/1.022, allocations: 57.31 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.022, allocations: 7.188 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.022, allocations: 7.156 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.022, allocations: 0 / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-06/1.022, allocations: 9.797 kB / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/1.022, allocations: 0 / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/1.022, allocations: 4.906 kB / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.022, allocations: 1.922 kB / 1.334 GB, free: 16.29 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 6.742e-05/1.022, allocations: 187.7 kB / 1.334 GB, free: 16.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/1.022, allocations: 108.8 kB / 1.334 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/1.023, allocations: 111.3 kB / 1.334 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/1.023, allocations: 186.4 kB / 1.334 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.023, allocations: 178.2 kB / 1.335 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/1.023, allocations: 182 kB / 1.335 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/1.023, allocations: 412.9 kB / 1.335 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.023, allocations: 107.1 kB / 1.335 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/1.023, allocations: 105.8 kB / 1.335 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.078e-05/1.023, allocations: 182 kB / 1.335 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/1.023, allocations: 182.3 kB / 1.336 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.575e-05/1.023, allocations: 178.4 kB / 1.336 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.105e-05/1.023, allocations: 185 kB / 1.336 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.814e-05/1.023, allocations: 311.5 kB / 1.336 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/1.023, allocations: 188.2 kB / 1.336 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/1.023, allocations: 183.1 kB / 1.337 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/1.023, allocations: 105.6 kB / 1.337 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/1.023, allocations: 182.2 kB / 1.337 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.023, allocations: 106.8 kB / 1.337 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.323e-05/1.023, allocations: 100.7 kB / 1.337 GB, free: 12.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.023, allocations: 3.938 kB / 1.337 GB, free: 12.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001449/1.025, allocations: 290 kB / 1.337 GB, free: 12.64 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.001648/1.026, allocations: 1.183 MB / 1.339 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001031/1.027, allocations: 33.41 kB / 1.339 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.027, allocations: 1.125 kB / 1.339 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/1.027, allocations: 3.938 kB / 1.339 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/1.027, allocations: 468 kB / 1.339 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.028, allocations: 1.577 MB / 1.341 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/1.028, allocations: 0.6852 MB / 1.341 GB, free: 9.098 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.572e-05/1.028, allocations: 4.547 kB / 1.341 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/1.028, allocations: 18.5 kB / 1.341 GB, free: 9.078 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.028, allocations: 1.125 kB / 1.341 GB, free: 9.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/1.06, allocations: 7.17 MB / 1.348 GB, free: 8.332 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.661, allocations: 4.781 kB / 1.348 GB, free: 8.328 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.225603676983155] Failed to read output from testmodel.py, exit status != 0: 9.78694939496927 9.800138815 8.777309922 Calling exit ...