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.001644/0.001644, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001943/0.001943, allocations: 212 kB / 22.24 MB, free: 4.855 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.805 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.065/3.065, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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="me",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="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.002104/0.002104, allocations: 68.47 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00265/0.3385, allocations: 1.444 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00449/0.343, allocations: 2.689 MB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.343, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.343, allocations: 3.938 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.3431, allocations: 19.84 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.3473, allocations: 1.634 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3474, allocations: 39.75 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.3474, allocations: 11.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.3475, allocations: 15.92 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.3475, allocations: 19.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.3499, allocations: 1.486 MB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3499, allocations: 7.938 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3499, allocations: 15.92 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3516, allocations: 1.099 MB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3516, allocations: 3.984 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3516, allocations: 0 / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3516, allocations: 0 / 1.333 GB, free: 9.809 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.0006622/0.3522, allocations: 483.9 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3523, allocations: 11.98 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.3524, allocations: 106 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.3524, allocations: 84.17 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3526, allocations: 189.8 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.3526, allocations: 150.9 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.3527, allocations: 158.9 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.3528, allocations: 104.9 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.3528, allocations: 79.27 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.3529, allocations: 150.6 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.3529, allocations: 162.5 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.353, allocations: 150.6 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.3533, allocations: 433 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3534, allocations: 173.1 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.3534, allocations: 80.14 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3535, allocations: 83.22 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.3535, allocations: 109.8 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3535, allocations: 0 / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.612e-05/0.3536, allocations: 37.7 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3537, allocations: 126.7 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3538, allocations: 139.6 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3538, allocations: 29.7 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.3539, allocations: 92.08 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3539, allocations: 4 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3539, allocations: 17.72 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3541, allocations: 314.8 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.3541, allocations: 8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.3541, allocations: 4 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.3541, allocations: 20.86 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3541, allocations: 4 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.3543, allocations: 53.56 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3543, allocations: 12.06 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3543, allocations: 4 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3543, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3543, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3543, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.3544, allocations: 3.953 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3544, allocations: 4 kB / 1.337 GB, free: 6.094 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.0001079/0.3545, allocations: 181.1 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.3546, allocations: 120.8 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.3546, allocations: 108.8 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/0.3547, allocations: 188.2 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.396e-05/0.3548, allocations: 176.3 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.02e-05/0.3548, allocations: 176.3 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3551, allocations: 396.2 kB / 1.338 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/0.3551, allocations: 105 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.3552, allocations: 104.9 kB / 1.338 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/0.3552, allocations: 176.3 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.3553, allocations: 180.3 kB / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-05/0.3554, allocations: 184.2 kB / 1.339 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-05/0.3555, allocations: 180.2 kB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.3556, allocations: 315.7 kB / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3557, allocations: 112.9 kB / 1.339 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.3558, allocations: 184.2 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.3558, allocations: 104.9 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.3559, allocations: 184.2 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.356, allocations: 101 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.356, allocations: 100.7 kB / 1.34 GB, free: 2.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.356, allocations: 0 / 1.34 GB, free: 2.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007722/0.3568, allocations: 298.9 kB / 1.34 GB, free: 2.289 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.001462/0.3583, allocations: 1.204 MB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.3584, allocations: 33.7 kB / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3584, allocations: 0 / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3584, allocations: 0 / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3588, allocations: 469.6 kB / 1.342 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3604, allocations: 1.613 MB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.673e-05/0.3604, allocations: 67.34 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.3604, allocations: 0 / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3605, allocations: 15.42 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of SimCode: time 7.72e-07/0.3605, allocations: 0 / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.3995, allocations: 7.822 MB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 10.17 kB / 1.351 GB, free: 7.121 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.150351433083415] Failed to read output from testmodel.py, exit status != 0: 11.808769402094185 11.835028167 11.478595732 Calling exit ...