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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 497.2 MB / 0.7811 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 73.41 kB / 1.134 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 173.9 MB / 1.304 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002684/0.3262, allocations: 1.446 MB / 1.305 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.3306, allocations: 2.91 MB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3306, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.3307, allocations: 3.938 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3307, allocations: 19.84 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.3344, allocations: 1.599 MB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.3345, allocations: 43.67 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.3345, allocations: 8 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.3346, allocations: 11.94 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.3346, allocations: 19.92 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.3346, allocations: 0 / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3368, allocations: 1.572 MB / 1.312 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.3369, allocations: 3.984 kB / 1.312 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.3369, allocations: 27.86 kB / 1.312 GB, free: 9.922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3383, allocations: 1.111 MB / 1.313 GB, free: 8.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3383, allocations: 0 / 1.313 GB, free: 8.809 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3383, allocations: 4 kB / 1.313 GB, free: 8.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3383, allocations: 0 / 1.313 GB, free: 8.805 MB / 1.014 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.0006162/0.339, allocations: 0.5285 MB / 1.313 GB, free: 8.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.339, allocations: 12.62 kB / 1.313 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.016e-05/0.3391, allocations: 110 kB / 1.313 GB, free: 8.098 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3391, allocations: 76.22 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3393, allocations: 265.4 kB / 1.314 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.3394, allocations: 154.9 kB / 1.314 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.3394, allocations: 150.9 kB / 1.314 GB, free: 7.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.3395, allocations: 104.9 kB / 1.314 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.3395, allocations: 75.28 kB / 1.314 GB, free: 7.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.3396, allocations: 158.5 kB / 1.314 GB, free: 7.086 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.3397, allocations: 154.6 kB / 1.314 GB, free: 6.934 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.3397, allocations: 154.5 kB / 1.314 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.34, allocations: 461.9 kB / 1.315 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.3401, allocations: 177.1 kB / 1.315 GB, free: 6.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.3402, allocations: 80.14 kB / 1.315 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.3402, allocations: 79.22 kB / 1.315 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.3403, allocations: 109.8 kB / 1.315 GB, free: 5.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3403, allocations: 0 / 1.315 GB, free: 5.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.243e-05/0.3404, allocations: 37.64 kB / 1.315 GB, free: 5.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3404, allocations: 130.7 kB / 1.316 GB, free: 5.637 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3406, allocations: 135.9 kB / 1.316 GB, free: 5.496 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3406, allocations: 29.7 kB / 1.316 GB, free: 5.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.3406, allocations: 88.14 kB / 1.316 GB, free: 5.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3406, allocations: 0 / 1.316 GB, free: 5.371 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3407, allocations: 21.7 kB / 1.316 GB, free: 5.344 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3408, allocations: 314.8 kB / 1.316 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.3408, allocations: 4 kB / 1.316 GB, free: 5.023 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.3409, allocations: 12 kB / 1.316 GB, free: 5.012 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.3409, allocations: 16.78 kB / 1.316 GB, free: 4.992 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3409, allocations: 0 / 1.316 GB, free: 4.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.341, allocations: 57.59 kB / 1.316 GB, free: 4.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.341, allocations: 4 kB / 1.316 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3411, allocations: 4 kB / 1.316 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3411, allocations: 0 / 1.316 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3411, allocations: 0 / 1.316 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3411, allocations: 64 / 1.316 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.3411, allocations: 8 kB / 1.316 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3411, allocations: 4.062 kB / 1.316 GB, free: 4.91 MB / 1.014 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.0001082/0.3412, allocations: 193.1 kB / 1.316 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.3413, allocations: 116.8 kB / 1.316 GB, free: 4.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.3413, allocations: 108.9 kB / 1.317 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/0.3414, allocations: 180.3 kB / 1.317 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.3415, allocations: 184.2 kB / 1.317 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/0.3416, allocations: 180.3 kB / 1.317 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.3418, allocations: 417.1 kB / 1.318 GB, free: 3.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-05/0.3419, allocations: 108.9 kB / 1.318 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.3419, allocations: 105 kB / 1.318 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.342, allocations: 184.2 kB / 1.318 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.3421, allocations: 180.3 kB / 1.318 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.768e-05/0.3422, allocations: 180.2 kB / 1.318 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.49e-05/0.3422, allocations: 184.2 kB / 1.318 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3424, allocations: 315.6 kB / 1.319 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.3425, allocations: 182 kB / 1.319 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.3426, allocations: 188.2 kB / 1.319 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.3427, allocations: 105 kB / 1.319 GB, free: 1.652 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.3428, allocations: 192.1 kB / 1.319 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.3428, allocations: 101 kB / 1.319 GB, free: 1.352 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.3429, allocations: 99.27 kB / 1.32 GB, free: 1.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 1.32 GB, free: 1.254 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008048/0.3437, allocations: 291 kB / 1.32 GB, free: 0.9688 MB / 1.014 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.001374/0.3451, allocations: 1.178 MB / 1.321 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3452, allocations: 37.7 kB / 1.321 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3452, allocations: 0 / 1.321 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.3452, allocations: 0 / 1.321 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3456, allocations: 470.3 kB / 1.321 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3471, allocations: 1.62 MB / 1.323 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3474, allocations: 0.6807 MB / 1.324 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.445e-05/0.3474, allocations: 0 / 1.324 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.3474, allocations: 21.3 kB / 1.324 GB, free: 12.83 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3474, allocations: 0 / 1.324 GB, free: 12.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.3794, allocations: 7.124 MB / 1.331 GB, free: 5.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.422, allocations: 2.688 kB / 1.331 GB, free: 5.922 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.654559813905507] Failed to read output from testmodel.py, exit status != 0: 8.492847118992358 8.512823581 8.170759177 Calling exit ...