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.001851/0.001851, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002558/0.002558, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.961 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.176/3.176, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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="me",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="me",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.002006/0.002006, allocations: 67.67 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00309/0.3305, allocations: 1.481 MB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.3357, allocations: 2.996 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3358, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3358, allocations: 7.922 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.3359, allocations: 15.86 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.3407, allocations: 1.705 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3408, allocations: 43.67 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.3408, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.3409, allocations: 19.91 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.3409, allocations: 11.94 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3409, allocations: 7.875 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.3442, allocations: 1.77 MB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3442, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3442, allocations: 19.86 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.3466, allocations: 1.153 MB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3466, allocations: 0 / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3466, allocations: 4 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3467, allocations: 0 / 1.335 GB, free: 8.648 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.0009082/0.3476, allocations: 476 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3476, allocations: 11.98 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.917e-05/0.3477, allocations: 110 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.3478, allocations: 88.17 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3479, allocations: 193.7 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.348, allocations: 150.9 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.3481, allocations: 154.9 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.3482, allocations: 104.9 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.3482, allocations: 79.28 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.3483, allocations: 154.5 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.3483, allocations: 154.5 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3484, allocations: 154.6 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.3488, allocations: 433 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3489, allocations: 173.1 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.3489, allocations: 80.14 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.349, allocations: 83.16 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.196e-05/0.349, allocations: 109.8 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.349, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.942e-05/0.3491, allocations: 41.7 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.3492, allocations: 126.7 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3494, allocations: 136.7 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3494, allocations: 25.7 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.3494, allocations: 92.14 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.3494, allocations: 0 / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3495, allocations: 17.7 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3496, allocations: 318.8 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.3497, allocations: 8 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.3497, allocations: 15.92 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.3497, allocations: 8.859 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3497, allocations: 0 / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000143/0.3499, allocations: 61.66 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3499, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.3499, allocations: 4 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3499, allocations: 0 / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-06/0.3499, allocations: 7.922 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3499, allocations: 64 / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.35, allocations: 11.94 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.35, allocations: 0 / 1.338 GB, free: 4.93 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.0001179/0.3501, allocations: 181.1 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3502, allocations: 116.8 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.3502, allocations: 108.8 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.3503, allocations: 188.2 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-05/0.3504, allocations: 180.3 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.3505, allocations: 176.3 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3507, allocations: 388.2 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.3508, allocations: 105 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.3508, allocations: 112.9 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-05/0.3509, allocations: 180.3 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.351, allocations: 176.3 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.164e-05/0.3511, allocations: 180.2 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-05/0.3511, allocations: 180.3 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3513, allocations: 323.6 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.3514, allocations: 112.9 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.3515, allocations: 176.3 kB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.3516, allocations: 105 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.3517, allocations: 184.2 kB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.3517, allocations: 105 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.3518, allocations: 101.3 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3518, allocations: 0 / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008669/0.3527, allocations: 299 kB / 1.342 GB, free: 1.125 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.001735/0.3544, allocations: 1.195 MB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.3545, allocations: 41.69 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3545, allocations: 0 / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.3545, allocations: 4 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.355, allocations: 463.8 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3567, allocations: 1.607 MB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3571, allocations: 0.6846 MB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3571, allocations: 0 / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3571, allocations: 19.44 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3571, allocations: 3.938 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.3965, allocations: 7.36 MB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 7.859 kB / 1.353 GB, free: 5.801 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.20729833515361] Failed to read output from testmodel.py, exit status != 0: 11.752852274104953 11.776820791 11.42521827 Calling exit ...