Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001784/0.001784, allocations: 111.3 kB / 17.6 MB, free: 4.695 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.00196/0.00196, allocations: 182.7 kB / 20.77 MB, free: 1.539 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.395/1.395, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.66/2.66, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 72.06 kB / 1.107 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8521, allocations: 168.7 MB / 1.272 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002403/0.8545, allocations: 1.467 MB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.8585, allocations: 2.933 MB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.8585, allocations: 0.6875 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.8586, allocations: 5.906 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.8586, allocations: 15.28 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.8625, allocations: 1.595 MB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.8626, allocations: 42.62 kB / 1.278 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.8627, allocations: 2.031 kB / 1.278 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.8627, allocations: 17.42 kB / 1.278 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.8627, allocations: 17.59 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.8627, allocations: 0.8438 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.8653, allocations: 1.57 MB / 1.279 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.8653, allocations: 6.688 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.8654, allocations: 24.08 kB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.8673, allocations: 1.124 MB / 1.28 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8673, allocations: 0 / 1.28 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8673, allocations: 0 / 1.28 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.8673, allocations: 0 / 1.28 GB, free: 2.992 MB / 0.9981 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.0006142/0.868, allocations: 0.5283 MB / 1.281 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.868, allocations: 9.906 kB / 1.281 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.868, allocations: 110.6 kB / 1.281 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.8681, allocations: 81.14 kB / 1.281 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.8682, allocations: 256.2 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.8682, allocations: 154.9 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.8682, allocations: 159.6 kB / 1.281 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.205e-05/0.8683, allocations: 104.9 kB / 1.282 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8683, allocations: 75.28 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.8683, allocations: 156.9 kB / 1.282 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.8683, allocations: 150.6 kB / 1.282 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.8683, allocations: 154.6 kB / 1.282 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.8685, allocations: 471.5 kB / 1.283 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.8686, allocations: 173.9 kB / 1.283 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.8686, allocations: 80.14 kB / 1.283 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.8686, allocations: 81.09 kB / 1.283 GB, free: 248 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.8686, allocations: 110.5 kB / 1.283 GB, free: 128 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.8686, allocations: 0 / 1.283 GB, free: 128 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.07e-05/0.8687, allocations: 35.09 kB / 1.283 GB, free: 92 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.8688, allocations: 131.4 kB / 1.283 GB, free: 15.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8689, allocations: 136.7 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.8689, allocations: 30.27 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.869, allocations: 88.94 kB / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.869, allocations: 0 / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.869, allocations: 19.56 kB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8692, allocations: 314.7 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.8692, allocations: 8.203 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.8692, allocations: 7.531 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.8693, allocations: 16.66 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8693, allocations: 0 / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001409/0.8694, allocations: 56.89 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8694, allocations: 5.641 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.8695, allocations: 5.5 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8695, allocations: 0 / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.8695, allocations: 0.7031 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8695, allocations: 0 / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.8695, allocations: 6.594 kB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.8695, allocations: 4.719 kB / 1.284 GB, free: 15.31 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.0001066/0.8696, allocations: 188.1 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.8697, allocations: 116.5 kB / 1.284 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.8698, allocations: 116.2 kB / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/0.8698, allocations: 176.9 kB / 1.284 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.841e-05/0.8699, allocations: 178.2 kB / 1.285 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/0.87, allocations: 188.3 kB / 1.285 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.8702, allocations: 415.3 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.8703, allocations: 109.4 kB / 1.285 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.8703, allocations: 101.6 kB / 1.285 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.8704, allocations: 180.7 kB / 1.285 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.8705, allocations: 188.8 kB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-05/0.8706, allocations: 183.1 kB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.8706, allocations: 185 kB / 1.286 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.8708, allocations: 312 kB / 1.286 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.8709, allocations: 185.6 kB / 1.286 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.871, allocations: 181.4 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.8711, allocations: 106.6 kB / 1.287 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.8712, allocations: 179.8 kB / 1.287 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.8712, allocations: 105.6 kB / 1.287 GB, free: 11.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.8713, allocations: 104.1 kB / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8713, allocations: 0 / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009677/0.8723, allocations: 288.8 kB / 1.287 GB, free: 11.66 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.00153/0.8738, allocations: 1.188 MB / 1.289 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.8739, allocations: 34.19 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8739, allocations: 4.719 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.8739, allocations: 0.9375 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.8744, allocations: 461.8 kB / 1.289 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.8759, allocations: 1.625 MB / 1.291 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.8762, allocations: 0.6864 MB / 1.291 GB, free: 8.082 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.8762, allocations: 3 kB / 1.291 GB, free: 8.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.8763, allocations: 12.7 kB / 1.291 GB, free: 8.07 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8763, allocations: 0 / 1.291 GB, free: 8.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.9106, allocations: 7.035 MB / 1.298 GB, free: 7.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.38, allocations: 4.969 kB / 1.298 GB, free: 7.336 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.262470476998715] Failed to read output from testmodel.py, exit status != 0: 10.455026491981698 10.479771702 9.607408969 Calling exit ...