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.InternalResistancesOneUTubeNegative.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.001767/0.001767, allocations: 103 kB / 16.45 MB, free: 6.449 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.002156/0.002156, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.141/3.141, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002571/0.002571, allocations: 78.86 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.341, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003278/0.3443, allocations: 1.457 MB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.3493, allocations: 2.938 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.3494, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3494, allocations: 7.922 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.3495, allocations: 15.81 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.3539, allocations: 1.62 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.354, allocations: 39.73 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.354, allocations: 7.938 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.3541, allocations: 19.92 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.3541, allocations: 11.94 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3541, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.357, allocations: 1.552 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3571, allocations: 11.94 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.3571, allocations: 15.88 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.3591, allocations: 1.107 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3591, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3591, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3591, allocations: 0 / 1.329 GB, free: 10.47 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.0009194/0.36, allocations: 0.5402 MB / 1.33 GB, free: 9.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3601, allocations: 8.031 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.955e-05/0.3602, allocations: 106 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.3602, allocations: 84.17 kB / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3604, allocations: 243.6 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.3605, allocations: 154.9 kB / 1.331 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.3606, allocations: 154.9 kB / 1.331 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.3607, allocations: 108.9 kB / 1.331 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.3607, allocations: 75.28 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.3608, allocations: 162.5 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/0.3609, allocations: 150.6 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.3609, allocations: 150.6 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3613, allocations: 469.9 kB / 1.332 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3614, allocations: 165.1 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.3615, allocations: 80.14 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.3615, allocations: 87.16 kB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.3616, allocations: 109.8 kB / 1.332 GB, free: 7.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3616, allocations: 0 / 1.332 GB, free: 7.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.838e-05/0.3617, allocations: 37.64 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.3617, allocations: 126.7 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3619, allocations: 127.7 kB / 1.333 GB, free: 7.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3619, allocations: 29.64 kB / 1.333 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.362, allocations: 96.12 kB / 1.333 GB, free: 7.043 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.362, allocations: 4 kB / 1.333 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.362, allocations: 13.72 kB / 1.333 GB, free: 7.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3621, allocations: 318.8 kB / 1.333 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.3622, allocations: 3.984 kB / 1.333 GB, free: 6.695 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.3622, allocations: 11.94 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.3622, allocations: 16.86 kB / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3622, allocations: 0 / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.3623, allocations: 49.59 kB / 1.333 GB, free: 6.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3624, allocations: 11.98 kB / 1.333 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.3624, allocations: 8 kB / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3624, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3624, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3624, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.3624, allocations: 4 kB / 1.333 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3624, allocations: 0 / 1.333 GB, free: 6.586 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.0001073/0.3625, allocations: 181.1 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.3626, allocations: 116.8 kB / 1.333 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.3627, allocations: 120.8 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/0.3627, allocations: 180.2 kB / 1.334 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.445e-05/0.3628, allocations: 176.3 kB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.435e-05/0.3629, allocations: 176.3 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3632, allocations: 425.1 kB / 1.334 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-05/0.3632, allocations: 105 kB / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.3633, allocations: 104.9 kB / 1.335 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.347e-05/0.3633, allocations: 180.3 kB / 1.335 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.3634, allocations: 180.3 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/0.3635, allocations: 184.2 kB / 1.335 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.3636, allocations: 184.2 kB / 1.335 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3637, allocations: 311.7 kB / 1.336 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.3638, allocations: 186 kB / 1.336 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.3639, allocations: 188.2 kB / 1.336 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.364, allocations: 101 kB / 1.336 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.3641, allocations: 184.2 kB / 1.336 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.3641, allocations: 101 kB / 1.336 GB, free: 3.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.11e-05/0.3642, allocations: 101.2 kB / 1.336 GB, free: 2.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3642, allocations: 0 / 1.336 GB, free: 2.949 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008307/0.365, allocations: 295 kB / 1.337 GB, free: 2.66 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.001686/0.3667, allocations: 1.179 MB / 1.338 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3668, allocations: 37.7 kB / 1.338 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3668, allocations: 3.938 kB / 1.338 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.3668, allocations: 0 / 1.338 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3673, allocations: 467.7 kB / 1.338 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.369, allocations: 1.596 MB / 1.34 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3693, allocations: 0.6884 MB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.3694, allocations: 3.984 kB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3694, allocations: 15.47 kB / 1.341 GB, free: 14.53 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/0.3694, allocations: 3.938 kB / 1.341 GB, free: 14.53 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.4031, allocations: 7.113 MB / 1.347 GB, free: 7.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.343, allocations: 3.531 kB / 1.347 GB, free: 7.625 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.791932608000934] Failed to read output from testmodel.py, exit status != 0: 8.417568183038384 8.442023241 8.078106052 Calling exit ...