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.001246/0.001246, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001403/0.001403, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.039/3.039, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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="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.001958/0.001958, allocations: 62.62 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002706/0.3354, allocations: 1.439 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004373/0.3398, allocations: 2.646 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3399, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3399, allocations: 3.938 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.3399, allocations: 15.84 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.3437, allocations: 1.622 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.3438, allocations: 39.75 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.3438, allocations: 3.984 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.3439, allocations: 11.94 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.3439, allocations: 19.88 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3439, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.3461, allocations: 1.556 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3461, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.3462, allocations: 15.88 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.3476, allocations: 1.089 MB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3476, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3476, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3476, allocations: 0 / 1.335 GB, free: 8.992 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.0006034/0.3482, allocations: 472 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3483, allocations: 11.98 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.022e-05/0.3483, allocations: 75.47 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.3484, allocations: 114 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.3484, allocations: 80.17 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3486, allocations: 189.8 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.3486, allocations: 158.9 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.3487, allocations: 158.7 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.352e-05/0.3488, allocations: 101 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.3488, allocations: 75.28 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.3489, allocations: 158.5 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.349, allocations: 154.5 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.349, allocations: 154.5 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.3493, allocations: 437 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3494, allocations: 177.1 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.3495, allocations: 84.08 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3495, allocations: 75.28 kB / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.3496, allocations: 109.8 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3496, allocations: 0 / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.577e-05/0.3496, allocations: 37.58 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.3497, allocations: 126.7 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3498, allocations: 135.7 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3499, allocations: 25.7 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3499, allocations: 84.14 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3499, allocations: 4 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.35, allocations: 29.7 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3501, allocations: 310.8 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.3501, allocations: 8 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.3501, allocations: 4 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.3502, allocations: 8.859 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3502, allocations: 3.984 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.3503, allocations: 57.53 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3503, allocations: 4 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3503, allocations: 4 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3503, allocations: 4.062 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3503, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.3503, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.3504, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3504, allocations: 7.922 kB / 1.338 GB, free: 5.223 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.0001011/0.3505, allocations: 189.1 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.3505, allocations: 112.9 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.3506, allocations: 108.7 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.58e-05/0.3507, allocations: 180.3 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-05/0.3508, allocations: 184.2 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.086e-05/0.3508, allocations: 180.3 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3511, allocations: 388.2 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/0.3511, allocations: 104.9 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.3512, allocations: 105 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.549e-05/0.3512, allocations: 188.1 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.329e-05/0.3513, allocations: 176.3 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.3514, allocations: 184.3 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-05/0.3515, allocations: 184.2 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.3516, allocations: 315.6 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3517, allocations: 109 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.3518, allocations: 184.3 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.3518, allocations: 108.9 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.3519, allocations: 184.2 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.352, allocations: 104.9 kB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.352, allocations: 100.5 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007689/0.3528, allocations: 291 kB / 1.342 GB, free: 1.414 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.001368/0.3542, allocations: 1.175 MB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.217e-05/0.3543, allocations: 45.64 kB / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3543, allocations: 0 / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3543, allocations: 0 / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3547, allocations: 463.7 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3561, allocations: 1.608 MB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.3562, allocations: 67.34 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.087e-05/0.3562, allocations: 4.094 kB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3562, allocations: 11.44 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3562, allocations: 0 / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3848, allocations: 7.27 MB / 1.352 GB, free: 6.855 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 7.938 kB / 1.352 GB, free: 6.848 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.223410081933253] Failed to read output from testmodel.py, exit status != 0: 11.818321843980812 11.835037336 11.484223807 Calling exit ...