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.InternalResistancesTwoUTube.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.001893/0.001893, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002498/0.002498, allocations: 212.4 kB / 22.25 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.093/3.093, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.002232/0.002232, allocations: 65.98 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3301, allocations: 181.9 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002798/0.3329, allocations: 1.438 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.3375, allocations: 2.678 MB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3376, allocations: 3.938 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3376, allocations: 7.922 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.3377, allocations: 11.88 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.3423, allocations: 1.644 MB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3425, allocations: 43.73 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.3425, allocations: 3.906 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.3426, allocations: 23.92 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.3426, allocations: 19.86 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3426, allocations: 0 / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.3459, allocations: 1.482 MB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.3459, allocations: 7.938 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3459, allocations: 11.94 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.3484, allocations: 1.103 MB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3484, allocations: 0 / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3484, allocations: 0 / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3484, allocations: 0 / 1.372 GB, free: 5.516 MB / 1.061 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.0008159/0.3492, allocations: 480 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.3493, allocations: 8.75 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/0.3494, allocations: 110 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.3494, allocations: 88.17 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.3496, allocations: 189.8 kB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.3497, allocations: 154.9 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.3498, allocations: 154.9 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.3499, allocations: 108.9 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.3499, allocations: 75.28 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.35, allocations: 150.6 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-05/0.35, allocations: 154.6 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.3501, allocations: 158.5 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.3505, allocations: 429 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3506, allocations: 173.1 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.3506, allocations: 80.14 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.3507, allocations: 83.16 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.3507, allocations: 109.8 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.3507, allocations: 0 / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.3508, allocations: 37.64 kB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.3509, allocations: 130.7 kB / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3511, allocations: 139.8 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3511, allocations: 25.7 kB / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3512, allocations: 96.14 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.3512, allocations: 0 / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3512, allocations: 17.7 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3513, allocations: 314.8 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.3514, allocations: 8 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.3514, allocations: 8 kB / 1.375 GB, free: 1.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.3514, allocations: 16.84 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3514, allocations: 0 / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001464/0.3516, allocations: 57.53 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3516, allocations: 8 kB / 1.375 GB, free: 1.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.3516, allocations: 4 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3516, allocations: 3.984 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.3516, allocations: 0 / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3516, allocations: 3.938 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.3517, allocations: 3.984 kB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3517, allocations: 8.062 kB / 1.375 GB, free: 1.797 MB / 1.061 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.0001137/0.3518, allocations: 181.1 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.3519, allocations: 112.9 kB / 1.375 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.3519, allocations: 108.7 kB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.039e-05/0.352, allocations: 188.2 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.3521, allocations: 180.3 kB / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.462e-05/0.3522, allocations: 180.2 kB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3524, allocations: 384.2 kB / 1.376 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.3525, allocations: 112.9 kB / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.3525, allocations: 105 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.3526, allocations: 180.3 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.3527, allocations: 184.2 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-05/0.3528, allocations: 176.3 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-05/0.3528, allocations: 180.2 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.353, allocations: 319.6 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3531, allocations: 112.9 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-05/0.3532, allocations: 176.3 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.3532, allocations: 104.9 kB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.3533, allocations: 188.2 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.3534, allocations: 104.9 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.3534, allocations: 104.1 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3534, allocations: 0 / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009319/0.3544, allocations: 299 kB / 1.379 GB, free: 13.99 MB / 1.076 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.001824/0.3562, allocations: 1.183 MB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.3563, allocations: 41.69 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3563, allocations: 4.062 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.3563, allocations: 3.938 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.3568, allocations: 463.6 kB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3586, allocations: 1.608 MB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.3e-05/0.3587, allocations: 71.58 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.3587, allocations: 0 / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3587, allocations: 19.47 kB / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/0.3587, allocations: 0 / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.3969, allocations: 7.821 MB / 1.39 GB, free: 2.832 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 16.58 kB / 1.39 GB, free: 2.82 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.112293185666203] Failed to read output from testmodel.py, exit status != 0: 11.664904320146888 11.680604557 11.328970779 Calling exit ...