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.InternalResistancesTwoUTubeNegative.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.001582/0.001582, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001959/0.001959, allocations: 223.1 kB / 22.25 MB, free: 5.102 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.049/3.049, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",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.002858/0.002858, allocations: 66.73 kB / 1.154 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3487, allocations: 176.1 MB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002686/0.3514, allocations: 1.439 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.3558, allocations: 2.681 MB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.3559, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.3559, allocations: 3.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.356, allocations: 19.8 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.3603, allocations: 1.657 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3604, allocations: 47.67 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.3605, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.3605, allocations: 15.94 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.3605, allocations: 19.92 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3605, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.3632, allocations: 1.591 MB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.3632, allocations: 11.94 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3632, allocations: 15.92 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.365, allocations: 1.11 MB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.365, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.365, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.365, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 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.0006736/0.3657, allocations: 472 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3658, allocations: 15.98 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.3658, allocations: 114 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.3659, allocations: 84.17 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.366, allocations: 187.7 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.3661, allocations: 150.9 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.3662, allocations: 154.9 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.026e-05/0.3662, allocations: 108.9 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3663, allocations: 75.28 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.3663, allocations: 150.6 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.3664, allocations: 150.6 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.3664, allocations: 158.6 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.3668, allocations: 433 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.3669, allocations: 173.1 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.3669, allocations: 84.14 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3669, allocations: 79.22 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.367, allocations: 109.8 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.367, allocations: 0 / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.392e-05/0.3671, allocations: 37.7 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.3671, allocations: 130.7 kB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3673, allocations: 141.7 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3673, allocations: 25.7 kB / 1.337 GB, free: 5.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3673, allocations: 92.09 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.3673, allocations: 4 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3674, allocations: 21.7 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3675, allocations: 318.8 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.3675, allocations: 4 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.3676, allocations: 8 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.3676, allocations: 16.84 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3676, allocations: 0 / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/0.3677, allocations: 49.64 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3677, allocations: 9.406 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.3678, allocations: 0 / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3678, allocations: 7.938 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3678, allocations: 4.062 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3678, allocations: 3.938 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.3678, allocations: 3.953 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3678, allocations: 0 / 1.338 GB, free: 5.012 MB / 1.029 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.0001049/0.3679, allocations: 189.1 kB / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.368, allocations: 112.9 kB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.368, allocations: 108.7 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/0.3681, allocations: 184.3 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.487e-05/0.3682, allocations: 180.2 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/0.3683, allocations: 180.2 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3685, allocations: 388.2 kB / 1.339 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.3686, allocations: 112.9 kB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3686, allocations: 105 kB / 1.339 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.09e-05/0.3687, allocations: 180.2 kB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.3687, allocations: 184.2 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.222e-05/0.3688, allocations: 180.3 kB / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.041e-05/0.3689, allocations: 180.2 kB / 1.34 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.369, allocations: 315.8 kB / 1.34 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3691, allocations: 112.9 kB / 1.34 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.3692, allocations: 176.3 kB / 1.341 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.3693, allocations: 108.9 kB / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.3693, allocations: 188.2 kB / 1.341 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.3694, allocations: 101 kB / 1.341 GB, free: 1.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.3694, allocations: 96.67 kB / 1.341 GB, free: 1.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0 / 1.341 GB, free: 1.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000837/0.3703, allocations: 306.8 kB / 1.341 GB, free: 1.195 MB / 1.029 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.001485/0.3718, allocations: 1.192 MB / 1.342 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3719, allocations: 37.7 kB / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3719, allocations: 0 / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.3719, allocations: 3.844 kB / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3723, allocations: 463.7 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3738, allocations: 1.616 MB / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.3739, allocations: 79.36 kB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.3739, allocations: 0 / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.374, allocations: 11.44 kB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.374, allocations: 4 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.411, allocations: 7.83 MB / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 2.188 kB / 1.352 GB, free: 6.02 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.898252251994563] Failed to read output from testmodel.py, exit status != 0: 11.650649232993601 11.664965319 11.296695716 Calling exit ...