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.001404/0.001404, allocations: 116.8 kB / 17.17 MB, free: 6 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.001423/0.001423, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.907/2.907, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",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="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.002245/0.002245, allocations: 63.91 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.9731, 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.InternalResistancesOneUTubeNegative): time 0.002239/0.9754, allocations: 1.443 MB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.9789, allocations: 2.94 MB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.9789, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.979, allocations: 3.938 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.979, allocations: 26.03 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.9823, allocations: 1.606 MB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.9824, allocations: 43.97 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.9824, allocations: 14.08 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.9825, allocations: 12.09 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.9825, allocations: 18.5 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.9825, allocations: 1.094 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.9847, allocations: 1.553 MB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.9847, allocations: 5.594 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.9848, allocations: 16.2 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.9864, allocations: 1.106 MB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9864, allocations: 0 / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9864, allocations: 1.094 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.9864, 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.0005442/0.987, allocations: 0.5346 MB / 1.331 GB, free: 19.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.987, allocations: 14.25 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.865e-05/0.987, allocations: 75.47 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.9871, allocations: 114.9 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.9871, allocations: 83.12 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.9872, allocations: 255 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.9872, allocations: 152.9 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.9873, allocations: 163.8 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.426e-05/0.9873, allocations: 101 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.9873, allocations: 76.41 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.9874, allocations: 151.2 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.9874, allocations: 154.6 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.9874, allocations: 151.7 kB / 1.332 GB, free: 18.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.9876, allocations: 469.5 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.9876, allocations: 178.3 kB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.9877, allocations: 84.08 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.9877, allocations: 77.02 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.9877, allocations: 114.3 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.9877, allocations: 0 / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.957e-05/0.9878, allocations: 38 kB / 1.333 GB, free: 17.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.9878, allocations: 127.5 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.9879, allocations: 135.2 kB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.9879, allocations: 25.7 kB / 1.333 GB, free: 16.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.9879, allocations: 89.27 kB / 1.333 GB, free: 16.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.9879, allocations: 4 kB / 1.333 GB, free: 16.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.988, allocations: 19.42 kB / 1.333 GB, free: 16.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.988, allocations: 314.5 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.988, allocations: 7.312 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.9881, allocations: 3.828 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.9881, allocations: 11.14 kB / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9881, allocations: 0 / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.9882, allocations: 58.03 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.9882, allocations: 5.812 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9882, allocations: 7.391 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9883, allocations: 0 / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.9883, allocations: 0 / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.9883, allocations: 1.344 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.9883, allocations: 4.734 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.9883, allocations: 1.438 kB / 1.334 GB, free: 16.3 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 5.109e-05/0.9883, allocations: 192.3 kB / 1.334 GB, free: 16.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.9884, allocations: 108.2 kB / 1.334 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.9884, allocations: 115.8 kB / 1.334 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.9884, allocations: 178.4 kB / 1.334 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.9884, allocations: 178 kB / 1.335 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.9885, allocations: 185.9 kB / 1.335 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.9886, allocations: 412.7 kB / 1.335 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.9886, allocations: 110.5 kB / 1.335 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.9886, allocations: 102.2 kB / 1.335 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/0.9887, allocations: 181.8 kB / 1.335 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.9887, allocations: 183.8 kB / 1.336 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-05/0.9887, allocations: 176.3 kB / 1.336 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-05/0.9887, allocations: 186.3 kB / 1.336 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.9888, allocations: 319.2 kB / 1.336 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.9888, allocations: 184.8 kB / 1.336 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.9889, allocations: 179 kB / 1.337 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.9889, allocations: 105.6 kB / 1.337 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.989, allocations: 186.6 kB / 1.337 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.989, allocations: 110.8 kB / 1.337 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.989, allocations: 102.4 kB / 1.337 GB, free: 12.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.989, allocations: 5.281 kB / 1.337 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007713/0.9898, allocations: 289 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.001218/0.991, allocations: 1.173 MB / 1.339 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.9911, allocations: 46.36 kB / 1.339 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9911, allocations: 0 / 1.339 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.9911, allocations: 1.062 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.0003376/0.9914, allocations: 465.4 kB / 1.339 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.9928, allocations: 1.583 MB / 1.341 GB, free: 9.789 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.9929, allocations: 0.6819 MB / 1.341 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.9929, allocations: 0.7031 kB / 1.341 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.9929, allocations: 22.36 kB / 1.341 GB, free: 9.074 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9929, allocations: 0 / 1.341 GB, free: 9.074 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/1.022, allocations: 7.174 MB / 1.348 GB, free: 8.328 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/9.558, allocations: 9.828 kB / 1.348 GB, free: 8.324 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.018502756021917] Failed to read output from testmodel.py, exit status != 0: 9.683507106965408 9.696054793 8.706987797 Calling exit ...