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.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.001398/0.001398, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001759/0.001759, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.063/3.063, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",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.001936/0.001936, allocations: 63.12 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002587/0.3244, allocations: 1.488 MB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004508/0.3289, allocations: 2.993 MB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.329, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.329, allocations: 3.938 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.3291, allocations: 19.84 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.3331, allocations: 1.708 MB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3332, allocations: 43.67 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.3332, allocations: 4 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.3333, allocations: 11.94 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.3333, allocations: 15.92 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.3333, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.336, allocations: 1.774 MB / 1.335 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.336, allocations: 7.984 kB / 1.335 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.3361, allocations: 15.88 kB / 1.335 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3378, allocations: 1.15 MB / 1.336 GB, free: 8.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3378, allocations: 3.938 kB / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3378, allocations: 0 / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3378, allocations: 0 / 1.336 GB, free: 8.688 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.0006762/0.3385, allocations: 472 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3385, allocations: 15.92 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.807e-05/0.3386, allocations: 87.47 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.3386, allocations: 110 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.3387, allocations: 80.17 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3388, allocations: 193.7 kB / 1.337 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.3389, allocations: 150.9 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.339, allocations: 158.7 kB / 1.337 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.339, allocations: 105 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.3391, allocations: 75.28 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.3391, allocations: 150.6 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.3392, allocations: 158.5 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.3393, allocations: 158.5 kB / 1.338 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.3396, allocations: 437 kB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.3397, allocations: 165.1 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.3397, allocations: 84.08 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3397, allocations: 75.28 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3398, allocations: 105.8 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3398, allocations: 4 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.3399, allocations: 41.64 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.3399, allocations: 130.7 kB / 1.339 GB, free: 5.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3401, allocations: 139.5 kB / 1.339 GB, free: 5.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3401, allocations: 25.7 kB / 1.339 GB, free: 5.453 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3402, allocations: 88.14 kB / 1.339 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3402, allocations: 0 / 1.339 GB, free: 5.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.3402, allocations: 17.72 kB / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3403, allocations: 322.8 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.3404, allocations: 4 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.3404, allocations: 8 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.3404, allocations: 16.8 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3404, allocations: 0 / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.3406, allocations: 57.58 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3406, allocations: 5.25 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.3406, allocations: 8.047 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3406, allocations: 4 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3406, allocations: 4.062 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3406, allocations: 7.984 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.3406, allocations: 3.938 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3406, allocations: 0 / 1.339 GB, free: 4.891 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.0001091/0.3407, allocations: 189.1 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.3408, allocations: 112.9 kB / 1.34 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.3409, allocations: 112.8 kB / 1.34 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/0.341, allocations: 180.3 kB / 1.34 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-05/0.341, allocations: 180.2 kB / 1.34 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/0.3411, allocations: 184.2 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3414, allocations: 388.2 kB / 1.341 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/0.3414, allocations: 105 kB / 1.341 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.3415, allocations: 101 kB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.3415, allocations: 184.2 kB / 1.341 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.3416, allocations: 180.2 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.507e-05/0.3417, allocations: 184.2 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.957e-05/0.3418, allocations: 176.3 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.3419, allocations: 319.7 kB / 1.342 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.342, allocations: 116.9 kB / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.342, allocations: 184.2 kB / 1.342 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.3421, allocations: 101 kB / 1.342 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.3422, allocations: 184.2 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.3423, allocations: 105 kB / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.3423, allocations: 100.8 kB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3423, allocations: 0 / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008125/0.3431, allocations: 299 kB / 1.343 GB, free: 1.078 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.001472/0.3446, allocations: 1.198 MB / 1.344 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.3447, allocations: 37.7 kB / 1.344 GB, free: 15.81 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3448, allocations: 4 kB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.3448, allocations: 0 / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3452, allocations: 467.7 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3467, allocations: 1.622 MB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.347, allocations: 0.6846 MB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.347, allocations: 0 / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.3471, allocations: 15.47 kB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3471, allocations: 4 kB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3764, allocations: 7.376 MB / 1.354 GB, free: 5.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 8.578 kB / 1.354 GB, free: 5.734 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.431693307997193] Failed to read output from testmodel.py, exit status != 0: 11.99713483999949 12.029786468 11.685382257 Calling exit ...