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.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.001331/0.001331, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001545/0.001545, allocations: 217.4 kB / 22.25 MB, free: 5.082 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.023 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.193/3.193, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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.002036/0.002036, allocations: 67.12 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 180.2 MB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002618/0.3449, allocations: 1.471 MB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.3495, allocations: 2.993 MB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.3496, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3496, allocations: 11.92 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.3497, allocations: 15.8 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.3538, allocations: 1.718 MB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3539, allocations: 47.67 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3539, allocations: 7.906 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.3539, allocations: 15.92 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.902e-05/0.354, allocations: 11.94 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.354, allocations: 0 / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3566, allocations: 1.77 MB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3566, allocations: 3.938 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.3566, allocations: 23.86 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.3584, allocations: 1.146 MB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3584, allocations: 7.938 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3584, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3584, allocations: 0 / 1.362 GB, free: 15.12 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.0006258/0.359, allocations: 476 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3591, allocations: 8.75 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.3591, allocations: 106 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.3592, allocations: 88.16 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3593, allocations: 188 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.3594, allocations: 158.9 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.3595, allocations: 154.9 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.291e-05/0.3596, allocations: 104.9 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.3596, allocations: 79.22 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.3596, allocations: 154.5 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.3597, allocations: 158.6 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.3598, allocations: 154.5 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.3601, allocations: 437 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.3602, allocations: 165.1 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.3602, allocations: 84.14 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.3602, allocations: 83.16 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.3603, allocations: 109.8 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.3603, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.458e-05/0.3604, allocations: 33.66 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3604, allocations: 130.7 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3606, allocations: 137.8 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3606, allocations: 29.7 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.3606, allocations: 100.1 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3606, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3607, allocations: 17.72 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3608, allocations: 314.8 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.3609, allocations: 7.984 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.3609, allocations: 11.94 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.3609, allocations: 16.92 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3609, allocations: 4.031 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001333/0.3611, allocations: 49.64 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3611, allocations: 4 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.3611, allocations: 7.984 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3611, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3611, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3611, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.3611, allocations: 7.953 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3611, allocations: 0 / 1.365 GB, free: 11.41 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 0.0001194/0.3613, allocations: 189.1 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.3613, allocations: 116.8 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.3614, allocations: 116.8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.3615, allocations: 180.2 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.078e-05/0.3615, allocations: 176.3 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/0.3616, allocations: 176.3 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3619, allocations: 400.1 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-05/0.3619, allocations: 109 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.3619, allocations: 104.9 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-05/0.362, allocations: 176.3 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.3621, allocations: 176.3 kB / 1.367 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.272e-05/0.3622, allocations: 188.2 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.839e-05/0.3622, allocations: 176.3 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3624, allocations: 311.7 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3624, allocations: 116.9 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.3625, allocations: 184.2 kB / 1.368 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.3626, allocations: 109 kB / 1.368 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.3627, allocations: 184.2 kB / 1.368 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.3627, allocations: 101 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.3628, allocations: 97.77 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007983/0.3636, allocations: 299 kB / 1.369 GB, free: 7.602 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.001521/0.3651, allocations: 1.191 MB / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.3652, allocations: 45.69 kB / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3652, allocations: 0 / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.3652, allocations: 4 kB / 1.37 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3656, allocations: 459.7 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3672, allocations: 1.619 MB / 1.372 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3675, allocations: 0.6807 MB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3675, allocations: 4 kB / 1.373 GB, free: 3.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.3676, allocations: 11.44 kB / 1.373 GB, free: 3.457 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3676, allocations: 0 / 1.373 GB, free: 3.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4049, allocations: 7.362 MB / 1.38 GB, free: 12.28 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.45, allocations: 8.062 kB / 1.38 GB, free: 12.27 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.048628669930622] Failed to read output from testmodel.py, exit status != 0: 11.55636457982473 11.572633358 11.211053834 Calling exit ...