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.InternalResistancesTwoUTubeNegative.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.00141/0.00141, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001414/0.001414, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] 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.461/2.461, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 71.88 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7419, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001966/0.7438, allocations: 1.475 MB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.7471, allocations: 2.925 MB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.7471, allocations: 1.031 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.7471, allocations: 3.938 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.7472, allocations: 15.55 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.7501, allocations: 1.593 MB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.7501, allocations: 41.55 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.7502, allocations: 2.578 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.7502, allocations: 14.56 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.722e-05/0.7502, allocations: 24.19 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.7502, allocations: 1.594 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.7523, allocations: 1.574 MB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.7523, allocations: 2.297 kB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.7523, allocations: 24.73 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.7537, allocations: 1.116 MB / 1.28 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7537, allocations: 0 / 1.28 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7537, allocations: 0 / 1.28 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7537, allocations: 0 / 1.28 GB, free: 3.062 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.0004305/0.7542, allocations: 0.5365 MB / 1.281 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.7542, allocations: 14.19 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.246e-05/0.7542, allocations: 108 kB / 1.281 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.7543, allocations: 82.28 kB / 1.281 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.414e-05/0.7543, allocations: 249.8 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7544, allocations: 154.9 kB / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.7544, allocations: 155.5 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.756e-05/0.7544, allocations: 104.9 kB / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7544, allocations: 75.89 kB / 1.281 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.7545, allocations: 150.6 kB / 1.282 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.7545, allocations: 154.5 kB / 1.282 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.7545, allocations: 160.6 kB / 1.282 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.7546, allocations: 476.8 kB / 1.282 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.7547, allocations: 169.3 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.7547, allocations: 80.14 kB / 1.283 GB, free: 396 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.7547, allocations: 79.22 kB / 1.283 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.7547, allocations: 110.5 kB / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.7547, allocations: 0 / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.638e-05/0.7548, allocations: 32.62 kB / 1.283 GB, free: 160 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.7548, allocations: 130.2 kB / 1.283 GB, free: 20 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.755, allocations: 139.6 kB / 1.283 GB, free: 15.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.755, allocations: 25.7 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.755, allocations: 92.84 kB / 1.283 GB, free: 15.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.755, allocations: 4 kB / 1.283 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.7551, allocations: 18.03 kB / 1.283 GB, free: 15.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7552, allocations: 320.4 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.7552, allocations: 2.344 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.7552, allocations: 6.203 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.7553, allocations: 11.95 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7553, allocations: 0.8906 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/0.7554, allocations: 61.8 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.7554, allocations: 7.125 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.7554, allocations: 6.078 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.7554, allocations: 0 / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.7554, allocations: 2.797 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.7554, allocations: 3.984 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.7554, allocations: 0.5781 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.7554, allocations: 9.594 kB / 1.284 GB, free: 15.36 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 9.376e-05/0.7555, allocations: 183.5 kB / 1.284 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.7556, allocations: 116.9 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.7557, allocations: 117.6 kB / 1.284 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.7557, allocations: 180.8 kB / 1.284 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.069e-05/0.7558, allocations: 183 kB / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.7559, allocations: 177.3 kB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.7561, allocations: 412.8 kB / 1.285 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-05/0.7561, allocations: 114.8 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.7562, allocations: 104 kB / 1.285 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/0.7562, allocations: 180.8 kB / 1.285 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.7563, allocations: 179 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.661e-05/0.7564, allocations: 181.1 kB / 1.286 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.805e-05/0.7564, allocations: 182.6 kB / 1.286 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.7566, allocations: 323.2 kB / 1.286 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.7567, allocations: 185 kB / 1.286 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.7567, allocations: 176.9 kB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.7568, allocations: 107.2 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.7569, allocations: 186.4 kB / 1.287 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.7569, allocations: 107 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.757, allocations: 98.16 kB / 1.287 GB, free: 11.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.757, allocations: 1.406 kB / 1.287 GB, free: 11.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006113/0.7576, allocations: 291.8 kB / 1.287 GB, free: 11.71 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.001226/0.7588, allocations: 1.18 MB / 1.288 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.58e-05/0.7589, allocations: 43.78 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.7589, allocations: 1.5 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.7589, allocations: 4.062 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.7593, allocations: 462.9 kB / 1.289 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.7606, allocations: 1.608 MB / 1.29 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.7609, allocations: 0.6817 MB / 1.291 GB, free: 8.152 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.144e-05/0.7609, allocations: 4.594 kB / 1.291 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.7609, allocations: 15.44 kB / 1.291 GB, free: 8.137 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.7609, allocations: 0 / 1.291 GB, free: 8.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.7911, allocations: 7.031 MB / 1.298 GB, free: 7.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/8.055, allocations: 12.44 kB / 1.298 GB, free: 7.395 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.298389937999673]