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.InternalResistancesTwoUTubeNegative.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.005056/0.005056, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.47/2.47, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.25, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002584/0.2527, allocations: 1.446 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004196/0.2569, allocations: 2.895 MB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.257, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.257, allocations: 7.922 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.2571, allocations: 15.86 kB / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.261, allocations: 1.598 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.2611, allocations: 47.67 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.2611, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.2612, allocations: 15.94 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.836e-05/0.2612, allocations: 23.91 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2612, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.2634, allocations: 1.529 MB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.2635, allocations: 3.938 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2635, allocations: 23.81 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.2651, allocations: 1.115 MB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2651, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2651, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2651, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 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.0006285/0.2658, allocations: 0.5364 MB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2658, allocations: 15.97 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.2659, allocations: 106 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.2659, allocations: 80.17 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2661, allocations: 251.6 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.2661, allocations: 150.9 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.2662, allocations: 158.9 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.357e-05/0.2662, allocations: 108.9 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2663, allocations: 75.28 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.2663, allocations: 150.6 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.2663, allocations: 154.5 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.2664, allocations: 158.5 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.2667, allocations: 465.9 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.409e-05/0.2668, allocations: 169.1 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.2668, allocations: 80.14 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2668, allocations: 79.22 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2669, allocations: 113.8 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2669, allocations: 0 / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.221e-05/0.267, allocations: 33.66 kB / 1.178 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.267, allocations: 126.7 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2671, allocations: 131.9 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2671, allocations: 29.69 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2672, allocations: 100.1 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2672, allocations: 4 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.2672, allocations: 13.77 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.2673, allocations: 326.8 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.2674, allocations: 4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.2674, allocations: 8 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.2674, allocations: 12.8 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2674, allocations: 0 / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001205/0.2676, allocations: 57.62 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2676, allocations: 8.062 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.2676, allocations: 4 kB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2676, allocations: 0 / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2676, allocations: 0 / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2676, allocations: 0 / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.2677, allocations: 7.953 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2677, allocations: 3.938 kB / 1.178 GB, free: 10.62 MB / 0.9356 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 7.876e-05/0.2678, allocations: 181.1 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.2678, allocations: 120.8 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.2679, allocations: 112.9 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/0.2679, allocations: 184.2 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/0.268, allocations: 176.3 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-05/0.268, allocations: 180.2 kB / 1.179 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2682, allocations: 421.2 kB / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.2683, allocations: 109 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.2683, allocations: 108.9 kB / 1.18 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-05/0.2684, allocations: 180.3 kB / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.2684, allocations: 180.2 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-05/0.2685, allocations: 180.2 kB / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.461e-05/0.2685, allocations: 176.3 kB / 1.181 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.2687, allocations: 315.7 kB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.2687, allocations: 186 kB / 1.181 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.2688, allocations: 188.2 kB / 1.181 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.2689, allocations: 101 kB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.2689, allocations: 188.2 kB / 1.181 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2689, allocations: 101 kB / 1.182 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.269, allocations: 109 kB / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.269, allocations: 0 / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007031/0.2697, allocations: 287 kB / 1.182 GB, free: 6.691 MB / 0.9356 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.001355/0.2711, allocations: 1.186 MB / 1.183 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.554e-05/0.2712, allocations: 41.69 kB / 1.183 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2712, allocations: 0 / 1.183 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.2712, allocations: 64 / 1.183 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2716, allocations: 471.7 kB / 1.184 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2729, allocations: 1.599 MB / 1.185 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2731, allocations: 0.6807 MB / 1.186 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.2731, allocations: 4.031 kB / 1.186 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2731, allocations: 11.44 kB / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.2731, allocations: 0 / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.2976, allocations: 7.091 MB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.195, allocations: 10.98 kB / 1.193 GB, free: 11.67 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)