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.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 195.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.28 kB / 0.9083 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 159.1 MB / 1.064 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003067/0.3355, allocations: 1.428 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.3399, allocations: 2.861 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.34, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.3401, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.3401, allocations: 15.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.3442, allocations: 1.554 MB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.3443, allocations: 39.73 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3443, allocations: 4 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.3443, allocations: 15.94 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.3444, allocations: 23.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3444, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.3466, allocations: 1.424 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3466, allocations: 3.984 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3467, allocations: 19.88 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.3486, allocations: 1.076 MB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3486, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3486, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3486, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 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.0007685/0.3494, allocations: 0.5107 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3494, allocations: 12.02 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.3495, allocations: 114 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.3496, allocations: 84.12 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3498, allocations: 243.6 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.3498, allocations: 154.9 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.3499, allocations: 154.9 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.35, allocations: 112.9 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.35, allocations: 75.28 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.3501, allocations: 150.6 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3501, allocations: 150.6 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.3502, allocations: 158.6 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.3505, allocations: 457.9 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.3506, allocations: 185 kB / 1.074 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.3506, allocations: 80.14 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3506, allocations: 79.27 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3507, allocations: 117.8 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3507, allocations: 0 / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.06e-05/0.3508, allocations: 29.61 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3509, allocations: 134.6 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.351, allocations: 131.5 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.351, allocations: 25.7 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.3511, allocations: 92.05 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3511, allocations: 0 / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.3511, allocations: 25.7 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3512, allocations: 310.8 kB / 1.075 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.3513, allocations: 8 kB / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.3513, allocations: 7.984 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.3513, allocations: 12.86 kB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3513, allocations: 0 / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001273/0.3515, allocations: 41.64 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3515, allocations: 12.06 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3515, allocations: 7.922 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3515, allocations: 3.938 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-06/0.3516, allocations: 4 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3516, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.3516, allocations: 7.844 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3516, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 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.403e-05/0.3517, allocations: 189.7 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3518, allocations: 108.9 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.3518, allocations: 116.8 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-05/0.3519, allocations: 176.3 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.792e-05/0.352, allocations: 176.3 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-05/0.352, allocations: 188.2 kB / 1.076 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.3522, allocations: 409.2 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/0.3523, allocations: 112.9 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3523, allocations: 105 kB / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.3524, allocations: 176.3 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.3525, allocations: 184.2 kB / 1.077 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.925e-05/0.3526, allocations: 184.2 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-05/0.3526, allocations: 188.2 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3528, allocations: 315.7 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.3528, allocations: 185.9 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.3529, allocations: 184.3 kB / 1.078 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.353, allocations: 108.9 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3531, allocations: 180.3 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3531, allocations: 105 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.231e-05/0.3532, allocations: 101.1 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3532, allocations: 3.938 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007923/0.354, allocations: 271.8 kB / 1.079 GB, free: 14.15 MB / 0.8419 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.001457/0.3555, allocations: 1.163 MB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.3556, allocations: 37.69 kB / 1.08 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3556, allocations: 4 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.3556, allocations: 7.938 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.356, allocations: 460.2 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3575, allocations: 1.566 MB / 1.082 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3578, allocations: 0.6846 MB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.3578, allocations: 3.938 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3578, allocations: 20.67 kB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3578, allocations: 0 / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3851, allocations: 6.891 MB / 1.09 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.204, allocations: 14.8 kB / 1.09 GB, free: 3.355 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)