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.001633/0.001633, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00202/0.00202, allocations: 223.8 kB / 23.03 MB, free: 4.949 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.109/3.109, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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="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.00189/0.00189, allocations: 61.25 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002981/0.3345, allocations: 1.438 MB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.3392, allocations: 2.67 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.3393, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3393, allocations: 7.922 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.3394, allocations: 15.86 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.3439, allocations: 1.666 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.344, allocations: 47.73 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.344, allocations: 3.984 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.344, allocations: 15.94 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.862e-05/0.3441, allocations: 15.88 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.3441, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.3467, allocations: 1.595 MB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3467, allocations: 3.984 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3467, allocations: 19.88 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3486, allocations: 1.103 MB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3486, allocations: 4 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3486, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3486, allocations: 0 / 1.335 GB, free: 8.836 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.0007193/0.3493, allocations: 476 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3493, allocations: 11.98 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.798e-05/0.3494, allocations: 75.47 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.3495, allocations: 114 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.3495, allocations: 84.17 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3497, allocations: 185.8 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.3497, allocations: 158.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.3498, allocations: 162.6 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.574e-05/0.3499, allocations: 101 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.3499, allocations: 75.28 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.3499, allocations: 154.6 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.35, allocations: 154.6 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.3501, allocations: 158.5 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3504, allocations: 429 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.3505, allocations: 173.1 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.3505, allocations: 84.08 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3505, allocations: 75.28 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.3506, allocations: 109.8 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3506, allocations: 8 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.105e-05/0.3507, allocations: 33.7 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3507, allocations: 126.7 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3509, allocations: 139.5 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3509, allocations: 25.7 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.351, allocations: 104 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.351, allocations: 0 / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.351, allocations: 13.72 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3511, allocations: 322.8 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.3512, allocations: 0 / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.3512, allocations: 12 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.3512, allocations: 16.8 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3512, allocations: 0 / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.3514, allocations: 57.62 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3514, allocations: 9.703 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3514, allocations: 4 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3514, allocations: 0 / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3514, allocations: 0 / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3514, allocations: 0 / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.3514, allocations: 3.953 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3514, allocations: 4 kB / 1.339 GB, free: 5.047 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.0001081/0.3515, allocations: 189.1 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.3516, allocations: 112.9 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.3517, allocations: 112.8 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-05/0.3518, allocations: 180.3 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-05/0.3518, allocations: 184.1 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.036e-05/0.3519, allocations: 180.3 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3521, allocations: 392.2 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/0.3522, allocations: 105 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.3522, allocations: 105 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.319e-05/0.3523, allocations: 180.2 kB / 1.34 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.175e-05/0.3524, allocations: 184.3 kB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.138e-05/0.3524, allocations: 180.2 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-05/0.3525, allocations: 184.2 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3527, allocations: 311.7 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.3527, allocations: 108.9 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.3528, allocations: 184.2 kB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.3529, allocations: 109 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.353, allocations: 180.2 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.353, allocations: 101 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.3531, allocations: 99.27 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3531, allocations: 0 / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008132/0.3539, allocations: 299 kB / 1.342 GB, free: 1.238 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.001562/0.3555, allocations: 1.204 MB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3556, allocations: 37.75 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3556, allocations: 4 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.3556, allocations: 4.062 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.356, allocations: 456.8 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3576, allocations: 1.623 MB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.3577, allocations: 63.34 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.3577, allocations: 4 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3577, allocations: 15.42 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.3577, allocations: 4.031 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3891, allocations: 7.464 MB / 1.353 GB, free: 6.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 16.64 kB / 1.353 GB, free: 6.43 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: 18.2459030370228] Failed to read output from testmodel.py, exit status != 0: 11.822952684015036 11.847974874 11.49483875 Calling exit ...