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.00163/0.00163, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002016/0.002016, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.815/2.815, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",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="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.001997/0.001997, allocations: 63.91 kB / 1.15 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9303/0.9323, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002231/0.9345, allocations: 1.459 MB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003512/0.938, allocations: 2.982 MB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.9381, allocations: 0 / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.9381, allocations: 6.594 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.9382, allocations: 15.09 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.9416, allocations: 1.649 MB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.9417, allocations: 46.94 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.9418, allocations: 5.375 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.9418, allocations: 12.03 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.9418, allocations: 15.09 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.9419, allocations: 1.344 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.9443, allocations: 1.609 MB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.9443, allocations: 2.984 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.9444, allocations: 20.64 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.9463, allocations: 1.135 MB / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9463, allocations: 3.938 kB / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9463, allocations: 0 / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.9463, allocations: 1.031 kB / 1.33 GB, free: 19.99 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.0007242/0.947, allocations: 0.5345 MB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9471, allocations: 13.3 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.054e-05/0.9471, allocations: 76.5 kB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.9471, allocations: 114 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.9472, allocations: 83.05 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.9473, allocations: 254.1 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.9473, allocations: 154.9 kB / 1.331 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.9474, allocations: 155.8 kB / 1.332 GB, free: 18.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.57e-05/0.9474, allocations: 102.9 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9474, allocations: 79.28 kB / 1.332 GB, free: 18.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.9474, allocations: 154.6 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.9475, allocations: 152.1 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.9475, allocations: 159.7 kB / 1.332 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.9477, allocations: 461.3 kB / 1.333 GB, free: 17.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.9477, allocations: 174.8 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.9478, allocations: 84.08 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.9478, allocations: 77.09 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.9478, allocations: 106.4 kB / 1.333 GB, free: 17.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.9478, allocations: 0.625 kB / 1.333 GB, free: 17.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.602e-05/0.9479, allocations: 45.22 kB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.9479, allocations: 130.7 kB / 1.333 GB, free: 16.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.948, allocations: 131.1 kB / 1.333 GB, free: 16.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.948, allocations: 25.7 kB / 1.333 GB, free: 16.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.9481, allocations: 92.58 kB / 1.334 GB, free: 16.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.9481, allocations: 0 / 1.334 GB, free: 16.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.9481, allocations: 16.53 kB / 1.334 GB, free: 16.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.9481, allocations: 318.5 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.9482, allocations: 11.94 kB / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.9482, allocations: 3.375 kB / 1.334 GB, free: 16.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.9482, allocations: 19.78 kB / 1.334 GB, free: 16.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9482, allocations: 1.156 kB / 1.334 GB, free: 16.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.9484, allocations: 53.56 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9484, allocations: 5.516 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.9484, allocations: 3 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9484, allocations: 1.156 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.9484, allocations: 0.8125 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9484, allocations: 0 / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.9485, allocations: 22.03 kB / 1.334 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9485, allocations: 1.5 kB / 1.334 GB, free: 16.21 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.545e-05/0.9485, allocations: 187.7 kB / 1.334 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.9486, allocations: 107.8 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.9486, allocations: 113.5 kB / 1.334 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.9486, allocations: 178.3 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/0.9486, allocations: 184.8 kB / 1.335 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.9487, allocations: 178 kB / 1.335 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.9488, allocations: 421 kB / 1.335 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.9488, allocations: 103.3 kB / 1.335 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.9488, allocations: 102.8 kB / 1.335 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.585e-05/0.9489, allocations: 184.9 kB / 1.336 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.9489, allocations: 178.1 kB / 1.336 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/0.9489, allocations: 187 kB / 1.336 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-05/0.9489, allocations: 177.4 kB / 1.336 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.906e-05/0.949, allocations: 318.9 kB / 1.336 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.949, allocations: 185 kB / 1.337 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.9491, allocations: 183.7 kB / 1.337 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.9491, allocations: 105.6 kB / 1.337 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.9492, allocations: 181.9 kB / 1.337 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.9492, allocations: 102.9 kB / 1.337 GB, free: 12.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.9492, allocations: 103.9 kB / 1.337 GB, free: 12.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9492, allocations: 1.5 kB / 1.337 GB, free: 12.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001048/0.9503, allocations: 297.3 kB / 1.338 GB, free: 12.57 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.001346/0.9516, allocations: 1.199 MB / 1.339 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.971e-05/0.9517, allocations: 39.02 kB / 1.339 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9517, allocations: 0 / 1.339 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.9517, allocations: 0.5625 kB / 1.339 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.952, allocations: 465.4 kB / 1.339 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.9533, allocations: 1.613 MB / 1.341 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.9534, allocations: 0.6827 MB / 1.341 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.9534, allocations: 1 kB / 1.341 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.9534, allocations: 14.53 kB / 1.341 GB, free: 8.988 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.9534, allocations: 0.7188 kB / 1.341 GB, free: 8.988 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.983, allocations: 7.373 MB / 1.349 GB, free: 8.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/9.689, allocations: 9.047 kB / 1.349 GB, free: 8.23 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.81649345497135] Failed to read output from testmodel.py, exit status != 0: 9.821084355004132 9.843075243 8.892666321 Calling exit ...