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.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 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 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.001205/0.001205, allocations: 197 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.36 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3109, allocations: 159.1 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002743/0.3137, allocations: 1.437 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004296/0.318, allocations: 2.888 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3181, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.3182, allocations: 7.875 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.3183, allocations: 15.84 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.3224, allocations: 1.588 MB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.3225, allocations: 39.75 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3225, allocations: 8 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.3226, allocations: 15.92 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.3226, allocations: 23.86 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3226, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.3251, allocations: 1.462 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.3252, allocations: 3.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.3252, allocations: 19.86 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.3272, allocations: 1.111 MB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3272, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3272, allocations: 4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.3272, allocations: 0 / 1.072 GB, free: 5.793 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.0007595/0.328, allocations: 0.5146 MB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.328, allocations: 8.031 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.3281, allocations: 106 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.3282, allocations: 88.12 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3283, allocations: 255.5 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.3284, allocations: 158.9 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.3285, allocations: 150.9 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.504e-05/0.3285, allocations: 108.9 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.3286, allocations: 75.28 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.3286, allocations: 150.6 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.3287, allocations: 150.6 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.3287, allocations: 158.6 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.329, allocations: 469.8 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.3291, allocations: 169.2 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.3292, allocations: 84.14 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3292, allocations: 83.22 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3293, allocations: 113.8 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3293, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.316e-05/0.3294, allocations: 29.64 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3294, allocations: 134.7 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3296, allocations: 135.6 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3296, allocations: 25.7 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.3297, allocations: 96.14 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.3297, allocations: 0 / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.3297, allocations: 17.7 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3298, allocations: 318.8 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.3299, allocations: 3.938 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.3299, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.3299, allocations: 24.91 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3299, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.3301, allocations: 61.52 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3301, allocations: 4 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.3302, allocations: 4 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3302, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.3302, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3302, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.3302, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3303, allocations: 4 kB / 1.076 GB, free: 1.91 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 0.0001337/0.3304, allocations: 191.4 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.3305, allocations: 116.9 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.3306, allocations: 108.8 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-05/0.3307, allocations: 176.3 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.599e-05/0.3308, allocations: 192.2 kB / 1.076 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-05/0.3308, allocations: 176.3 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.3312, allocations: 417.2 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/0.3313, allocations: 104.9 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.3313, allocations: 101 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.824e-05/0.3314, allocations: 188.2 kB / 1.077 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3315, allocations: 180.3 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.507e-05/0.3316, allocations: 176.3 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-05/0.3317, allocations: 184.2 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3319, allocations: 315.7 kB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.332, allocations: 190 kB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3322, allocations: 176.3 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3323, allocations: 108.9 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3324, allocations: 184.2 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.3324, allocations: 104.9 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.31e-05/0.3325, allocations: 101 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3325, allocations: 3.938 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00124/0.3338, allocations: 283.8 kB / 1.079 GB, free: 13.99 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.001918/0.3357, allocations: 1.181 MB / 1.08 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3359, allocations: 41.64 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3359, allocations: 4.062 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.3359, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.3364, allocations: 472.2 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.338, allocations: 1.592 MB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3382, allocations: 0.6885 MB / 1.083 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.3383, allocations: 0 / 1.083 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3383, allocations: 15.44 kB / 1.083 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3383, allocations: 0 / 1.083 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.364, allocations: 7.087 MB / 1.09 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.207, allocations: 19.92 kB / 1.09 GB, free: 2.949 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)