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.001874/0.001874, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.002405/0.002405, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.066/3.066, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.002009/0.002009, allocations: 68.5 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.321 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002751/0.3402, allocations: 1.485 MB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004581/0.3448, allocations: 2.969 MB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3449, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.3449, allocations: 7.922 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.345, allocations: 11.86 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.3492, allocations: 1.649 MB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3493, allocations: 47.67 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.3493, allocations: 7.906 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.3493, allocations: 11.94 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.3494, allocations: 23.91 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.3494, allocations: 0 / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.3519, allocations: 1.603 MB / 1.329 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3519, allocations: 3.938 kB / 1.329 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.352, allocations: 19.88 kB / 1.329 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3536, allocations: 1.134 MB / 1.33 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3536, allocations: 4 kB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3536, allocations: 3.938 kB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3536, allocations: 3.938 kB / 1.33 GB, free: 10.41 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.000693/0.3543, allocations: 0.5363 MB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3544, allocations: 8.031 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.3544, allocations: 114 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3545, allocations: 80.17 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3547, allocations: 251.6 kB / 1.331 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.3547, allocations: 154.9 kB / 1.331 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.3548, allocations: 158.9 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.157e-05/0.3549, allocations: 108.9 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.3549, allocations: 79.22 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.355, allocations: 150.6 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.432e-05/0.3551, allocations: 158.5 kB / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.3551, allocations: 150.6 kB / 1.332 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.3554, allocations: 461.9 kB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.3555, allocations: 169.1 kB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.3556, allocations: 88.08 kB / 1.332 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.3556, allocations: 79.22 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.3557, allocations: 113.8 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3557, allocations: 0 / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.886e-05/0.3557, allocations: 33.66 kB / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3558, allocations: 126.7 kB / 1.333 GB, free: 7.242 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.356, allocations: 131.5 kB / 1.333 GB, free: 7.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.356, allocations: 29.7 kB / 1.333 GB, free: 7.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.356, allocations: 96.12 kB / 1.333 GB, free: 6.973 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.356, allocations: 0 / 1.333 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3561, allocations: 17.72 kB / 1.333 GB, free: 6.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3562, allocations: 314.8 kB / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.3562, allocations: 15.92 kB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.3562, allocations: 0 / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.3563, allocations: 16.86 kB / 1.333 GB, free: 6.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3563, allocations: 4.031 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001265/0.3564, allocations: 53.59 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3564, allocations: 4 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3564, allocations: 7.984 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3565, allocations: 0 / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3565, allocations: 0 / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3565, allocations: 0 / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3565, allocations: 4.016 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3565, allocations: 8 kB / 1.333 GB, free: 6.512 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.0001138/0.3566, allocations: 193 kB / 1.333 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3567, allocations: 108.9 kB / 1.334 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.3567, allocations: 112.8 kB / 1.334 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.629e-05/0.3568, allocations: 188.1 kB / 1.334 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.683e-05/0.3569, allocations: 176.3 kB / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/0.357, allocations: 180.2 kB / 1.334 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.3572, allocations: 421.2 kB / 1.335 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.3573, allocations: 105 kB / 1.335 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3573, allocations: 104.9 kB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.829e-05/0.3574, allocations: 184.3 kB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.3575, allocations: 180.2 kB / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.181e-05/0.3576, allocations: 180.3 kB / 1.335 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.3576, allocations: 180.3 kB / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3578, allocations: 315.6 kB / 1.336 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.3579, allocations: 186 kB / 1.336 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.358, allocations: 188.2 kB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.3581, allocations: 105 kB / 1.336 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.3582, allocations: 180.2 kB / 1.336 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.3582, allocations: 101 kB / 1.336 GB, free: 2.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.3583, allocations: 101 kB / 1.337 GB, free: 2.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3583, allocations: 0 / 1.337 GB, free: 2.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008246/0.3591, allocations: 295 kB / 1.337 GB, free: 2.582 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.001512/0.3606, allocations: 1.202 MB / 1.338 GB, free: 1.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.3607, allocations: 45.69 kB / 1.338 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3607, allocations: 0 / 1.338 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3607, allocations: 0 / 1.338 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3612, allocations: 463.6 kB / 1.338 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3628, allocations: 1.614 MB / 1.34 GB, free: 15.15 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3631, allocations: 0.6846 MB / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.3631, allocations: 0 / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.3632, allocations: 15.44 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of SimCode: time 4.81e-07/0.3632, allocations: 0 / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3968, allocations: 7.326 MB / 1.348 GB, free: 7.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.453, allocations: 10.83 kB / 1.348 GB, free: 7.305 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.785069012083113] Failed to read output from testmodel.py, exit status != 0: 8.523007567971945 8.536479808 8.179975073 Calling exit ...