Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001153/0.001153, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001159/0.001159, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.256/1.256, allocations: 225.6 MB / 249.3 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.257/2.257, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001765/0.001765, allocations: 64.08 kB / 1.059 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2483, allocations: 160.7 MB / 1.216 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002212/0.2505, allocations: 1.454 MB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.2544, allocations: 2.94 MB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.2544, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.2544, allocations: 3.938 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.2545, allocations: 15.84 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.2576, allocations: 1.598 MB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.2576, allocations: 47.67 kB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.114e-05/0.2577, allocations: 3.984 kB / 1.222 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.2577, allocations: 11.94 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.2577, allocations: 15.94 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2577, allocations: 4 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.2597, allocations: 1.579 MB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.2597, allocations: 7.938 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.2597, allocations: 15.88 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.2609, allocations: 1.118 MB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2609, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2609, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2609, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9669 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.0005417/0.2615, allocations: 0.5383 MB / 1.225 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2615, allocations: 8.031 kB / 1.225 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2615, allocations: 106 kB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.2616, allocations: 84.17 kB / 1.225 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2618, allocations: 255.5 kB / 1.225 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.2618, allocations: 150.9 kB / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.2619, allocations: 154.9 kB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.629e-05/0.2619, allocations: 116.8 kB / 1.226 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.262, allocations: 75.28 kB / 1.226 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.262, allocations: 150.6 kB / 1.226 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.2621, allocations: 150.6 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.2621, allocations: 150.6 kB / 1.226 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.2624, allocations: 465.9 kB / 1.227 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/0.2625, allocations: 173 kB / 1.227 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.2625, allocations: 84.14 kB / 1.227 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.2625, allocations: 79.22 kB / 1.227 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.2626, allocations: 113.8 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2626, allocations: 0 / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.195e-05/0.2627, allocations: 29.66 kB / 1.227 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2627, allocations: 130.7 kB / 1.227 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2628, allocations: 135.7 kB / 1.227 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2628, allocations: 25.7 kB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.2629, allocations: 92.09 kB / 1.227 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.2629, allocations: 4 kB / 1.227 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2629, allocations: 17.72 kB / 1.227 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.263, allocations: 326.8 kB / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.2631, allocations: 0 / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.2631, allocations: 4 kB / 1.228 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.2631, allocations: 20.92 kB / 1.228 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2631, allocations: 0 / 1.228 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.2632, allocations: 49.62 kB / 1.228 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.2632, allocations: 8 kB / 1.228 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.2632, allocations: 8.062 kB / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.2632, allocations: 0 / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2633, allocations: 0 / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.2633, allocations: 0 / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.2633, allocations: 3.953 kB / 1.228 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2633, allocations: 7.938 kB / 1.228 GB, free: 3.09 MB / 0.9669 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 8.885e-05/0.2634, allocations: 189.1 kB / 1.228 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.2634, allocations: 120.9 kB / 1.228 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2635, allocations: 108.9 kB / 1.228 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.2635, allocations: 180.2 kB / 1.228 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.779e-05/0.2636, allocations: 184.2 kB / 1.229 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/0.2637, allocations: 188.2 kB / 1.229 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2639, allocations: 413.2 kB / 1.229 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-05/0.2639, allocations: 105 kB / 1.229 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.264, allocations: 104.9 kB / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.097e-05/0.264, allocations: 176.3 kB / 1.229 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.2641, allocations: 192.2 kB / 1.23 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.23e-05/0.2642, allocations: 180.2 kB / 1.23 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.2642, allocations: 176.3 kB / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.2644, allocations: 311.7 kB / 1.23 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.2644, allocations: 198 kB / 1.23 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.2645, allocations: 176.3 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2646, allocations: 113 kB / 1.231 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.2647, allocations: 184.2 kB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.2647, allocations: 101 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.2648, allocations: 108.6 kB / 1.231 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2648, allocations: 0 / 1.231 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005882/0.2654, allocations: 287 kB / 1.231 GB, free: 15.15 MB / 0.9825 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.001172/0.2665, allocations: 1.194 MB / 1.233 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.2666, allocations: 41.69 kB / 1.233 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2666, allocations: 0 / 1.233 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2666, allocations: 0 / 1.233 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.267, allocations: 463.7 kB / 1.233 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2682, allocations: 1.599 MB / 1.235 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2685, allocations: 0.6807 MB / 1.235 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.2685, allocations: 4.031 kB / 1.235 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.2685, allocations: 19.38 kB / 1.235 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.2685, allocations: 0 / 1.235 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2973, allocations: 7.018 MB / 1.242 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.457, allocations: 4.438 kB / 1.242 GB, free: 4.129 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.474015914005577]