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.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.001842/0.001842, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002185/0.002185, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.166/3.166, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",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="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.001918/0.001918, allocations: 66.95 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00267/0.3445, allocations: 1.47 MB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004752/0.3493, allocations: 3 MB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.3493, allocations: 3.938 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.3493, allocations: 3.984 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.3494, allocations: 19.8 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.3535, allocations: 1.719 MB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3536, allocations: 43.67 kB / 1.352 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.3536, allocations: 3.906 kB / 1.352 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.3537, allocations: 19.92 kB / 1.352 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.3537, allocations: 11.94 kB / 1.352 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3537, allocations: 4 kB / 1.352 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3563, allocations: 1.759 MB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3563, allocations: 11.94 kB / 1.353 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.3564, allocations: 23.86 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.358, allocations: 1.15 MB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.358, allocations: 0 / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.358, allocations: 0 / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3581, allocations: 0 / 1.354 GB, free: 7.133 MB / 1.045 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.0006588/0.3587, allocations: 476 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3588, allocations: 11.98 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.704e-05/0.3588, allocations: 75.47 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.3589, allocations: 114 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.3589, allocations: 88.11 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3591, allocations: 191.3 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.3591, allocations: 158.8 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.3592, allocations: 154.7 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.3593, allocations: 105 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.3593, allocations: 79.28 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3594, allocations: 150.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.3594, allocations: 150.6 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.3595, allocations: 154.6 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.3598, allocations: 436.9 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.3599, allocations: 169.1 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.36, allocations: 88.08 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.36, allocations: 75.28 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.3601, allocations: 109.8 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/0.3601, allocations: 3.984 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.803e-05/0.3601, allocations: 41.64 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.3602, allocations: 130.7 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3603, allocations: 135.5 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3604, allocations: 25.7 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.3604, allocations: 100.1 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.3604, allocations: 0 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3605, allocations: 17.7 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3606, allocations: 322.8 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.3606, allocations: 4 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.3606, allocations: 7.984 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.3607, allocations: 12.86 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3607, allocations: 0 / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/0.3608, allocations: 61.64 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3608, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.3608, allocations: 4 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3609, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.3609, allocations: 3.984 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3609, allocations: 4.062 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.3609, allocations: 3.953 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3609, allocations: 4 kB / 1.358 GB, free: 3.332 MB / 1.045 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 0.0001056/0.361, allocations: 185.1 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.3611, allocations: 112.9 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.141e-05/0.3611, allocations: 108.7 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/0.3612, allocations: 192.2 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-05/0.3613, allocations: 180.2 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/0.3613, allocations: 176.3 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3616, allocations: 384.2 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.3616, allocations: 108.9 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.3617, allocations: 105 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.689e-05/0.3618, allocations: 192.1 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.3618, allocations: 176.3 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.3619, allocations: 176.3 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-05/0.362, allocations: 180.2 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3621, allocations: 319.7 kB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3622, allocations: 108.9 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.3623, allocations: 180.3 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.3624, allocations: 112.9 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.3625, allocations: 176.3 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.3625, allocations: 104.9 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.3626, allocations: 105.1 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3626, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008434/0.3634, allocations: 299 kB / 1.361 GB, free: 15.52 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.001466/0.3649, allocations: 1.19 MB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.365, allocations: 45.62 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.365, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.365, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.3655, allocations: 463.8 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3671, allocations: 1.619 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3674, allocations: 0.6846 MB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.3674, allocations: 4 kB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3675, allocations: 11.44 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3675, allocations: 4.031 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3981, allocations: 7.379 MB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 9.906 kB / 1.373 GB, free: 4.188 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.262120882980525] Failed to read output from testmodel.py, exit status != 0: 11.760515670001041 11.789503377 11.426417117 Calling exit ...