Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.006221/0.006221, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.001416/0.001416, allocations: 194 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.921/0.921, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 63.91 kB / 0.5952 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3421, allocations: 82.03 MB / 0.6753 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001961/0.3441, allocations: 1.428 MB / 0.6767 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.348, allocations: 2.894 MB / 0.6795 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3481, allocations: 0 / 0.6795 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3481, allocations: 7.922 kB / 0.6795 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.3482, allocations: 14.3 kB / 0.6795 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.3516, allocations: 1.592 MB / 0.6811 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.3517, allocations: 49.8 kB / 0.6811 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.3518, allocations: 2.875 kB / 0.6811 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.3518, allocations: 20.69 kB / 0.6811 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.412e-05/0.3518, allocations: 11.12 kB / 0.6811 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.3519, allocations: 1.469 kB / 0.6811 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3539, allocations: 1.529 MB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.3539, allocations: 13.28 kB / 0.6826 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.3539, allocations: 16.12 kB / 0.6827 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3553, allocations: 1.109 MB / 0.6837 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3553, allocations: 1.375 kB / 0.6837 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3553, allocations: 0 / 0.6837 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3553, allocations: 0 / 0.6837 GB, free: 11.11 MB / 0.5137 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.0005587/0.3559, allocations: 0.5277 MB / 0.6843 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3559, allocations: 9.625 kB / 0.6843 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.356, allocations: 106 kB / 0.6844 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.3561, allocations: 82.92 kB / 0.6844 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3562, allocations: 261.9 kB / 0.6847 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.3563, allocations: 150.9 kB / 0.6848 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.3563, allocations: 156.3 kB / 0.685 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.999e-05/0.3564, allocations: 108.9 kB / 0.6851 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3564, allocations: 76.66 kB / 0.6852 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.3565, allocations: 150.6 kB / 0.6853 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.3565, allocations: 154.6 kB / 0.6855 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.3566, allocations: 151.9 kB / 0.6856 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.3568, allocations: 466.1 kB / 0.686 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.3569, allocations: 173.1 kB / 0.6862 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.357, allocations: 85.52 kB / 0.6863 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.357, allocations: 79.22 kB / 0.6864 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.357, allocations: 107.2 kB / 0.6865 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.357, allocations: 0 / 0.6865 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.3571, allocations: 40.39 kB / 0.6865 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3572, allocations: 130.6 kB / 0.6866 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3573, allocations: 139.8 kB / 0.6868 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3573, allocations: 25.7 kB / 0.6868 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.3574, allocations: 90.84 kB / 0.6869 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.3574, allocations: 0 / 0.6869 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3574, allocations: 23.2 kB / 0.6869 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.3575, allocations: 316.2 kB / 0.6872 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.3575, allocations: 8.062 kB / 0.6872 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.3576, allocations: 2.75 kB / 0.6872 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.3576, allocations: 22.38 kB / 0.6872 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3576, allocations: 1.25 kB / 0.6872 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.3577, allocations: 48.55 kB / 0.6873 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3578, allocations: 10.62 kB / 0.6873 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.3578, allocations: 3 kB / 0.6873 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3578, allocations: 0 / 0.6873 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.3578, allocations: 0 / 0.6873 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3578, allocations: 1.562 kB / 0.6873 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.3578, allocations: 3.953 kB / 0.6873 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3578, allocations: 5.078 kB / 0.6873 GB, free: 7.383 MB / 0.5137 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.309e-05/0.3579, allocations: 190.7 kB / 0.6875 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.358, allocations: 112.5 kB / 0.6876 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.358, allocations: 115.2 kB / 0.6877 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/0.3581, allocations: 176.3 kB / 0.6879 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-05/0.3582, allocations: 181.4 kB / 0.688 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.468e-05/0.3582, allocations: 193.2 kB / 0.6882 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3584, allocations: 411.7 kB / 0.6886 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.3585, allocations: 110.4 kB / 0.6887 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.3585, allocations: 106.4 kB / 0.6888 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.872e-05/0.3586, allocations: 176.3 kB / 0.689 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.3586, allocations: 189.5 kB / 0.6892 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-05/0.3587, allocations: 181.4 kB / 0.6894 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.174e-05/0.3587, allocations: 181.4 kB / 0.6895 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3589, allocations: 308.4 kB / 0.6898 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.3589, allocations: 189 kB / 0.69 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.359, allocations: 181.8 kB / 0.6902 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3591, allocations: 104.9 kB / 0.6903 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.3591, allocations: 185.9 kB / 0.6905 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3592, allocations: 101 kB / 0.6905 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.3592, allocations: 107.2 kB / 0.6906 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3592, allocations: 0 / 0.6906 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006937/0.3599, allocations: 289.9 kB / 0.6909 GB, free: 3.695 MB / 0.5137 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.001241/0.3612, allocations: 1.179 MB / 0.6921 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.3613, allocations: 41.73 kB / 0.6921 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3613, allocations: 0 / 0.6921 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.3613, allocations: 5.219 kB / 0.6921 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3617, allocations: 464 kB / 0.6926 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.363, allocations: 1.602 MB / 0.6941 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3632, allocations: 0.6854 MB / 0.6948 GB, free: 24 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.3632, allocations: 3.938 kB / 0.6948 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.3632, allocations: 13.91 kB / 0.6948 GB, free: 8 kB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3632, allocations: 0 / 0.6948 GB, free: 8 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3877, allocations: 7.127 MB / 0.7018 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.785, allocations: 12.61 kB / 0.7018 GB, free: 10.83 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)