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.008249/0.008249, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.001794/0.001794, allocations: 194.1 kB / 16.68 MB, free: 6.355 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 1.006/1.006, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 71.89 kB / 0.5952 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4826, allocations: 82.02 MB / 0.6753 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002243/0.4849, allocations: 1.431 MB / 0.6766 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.4892, allocations: 2.897 MB / 0.6795 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.4893, allocations: 0 / 0.6795 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.4893, allocations: 3.938 kB / 0.6795 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.4894, allocations: 14.61 kB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.4938, allocations: 1.589 MB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.4939, allocations: 45.55 kB / 0.6811 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.494, allocations: 2.844 kB / 0.6811 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.494, allocations: 20.67 kB / 0.6811 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.494, allocations: 11.06 kB / 0.6811 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.4941, allocations: 1.844 kB / 0.6811 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.497, allocations: 1.54 MB / 0.6826 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.497, allocations: 13.02 kB / 0.6826 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.4971, allocations: 16.28 kB / 0.6827 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.4988, allocations: 1.103 MB / 0.6837 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4989, allocations: 0 / 0.6837 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4989, allocations: 1.375 kB / 0.6837 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4989, allocations: 0 / 0.6837 GB, free: 11.14 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.0007544/0.4996, allocations: 0.5128 MB / 0.6842 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4997, allocations: 10.72 kB / 0.6842 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.857e-05/0.4998, allocations: 110 kB / 0.6844 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.4999, allocations: 81.72 kB / 0.6844 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.5001, allocations: 254.6 kB / 0.6847 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.5002, allocations: 150.9 kB / 0.6848 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.5002, allocations: 156.1 kB / 0.685 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.5003, allocations: 106.1 kB / 0.6851 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5004, allocations: 79.28 kB / 0.6851 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.5004, allocations: 150.6 kB / 0.6853 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.5005, allocations: 151.7 kB / 0.6854 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.5006, allocations: 158.4 kB / 0.6856 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.5009, allocations: 465.6 kB / 0.686 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5011, allocations: 171 kB / 0.6862 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.5011, allocations: 80.14 kB / 0.6863 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.5012, allocations: 79.22 kB / 0.6863 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/0.5012, allocations: 111.1 kB / 0.6864 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.5012, allocations: 0 / 0.6864 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.702e-05/0.5013, allocations: 45.56 kB / 0.6865 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.5014, allocations: 126.7 kB / 0.6866 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5016, allocations: 134.9 kB / 0.6867 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.5016, allocations: 27.14 kB / 0.6868 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.5017, allocations: 89.53 kB / 0.6869 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.5017, allocations: 1.406 kB / 0.6869 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.5018, allocations: 21.61 kB / 0.6869 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5019, allocations: 313.4 kB / 0.6872 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.5019, allocations: 14.47 kB / 0.6872 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.502, allocations: 4.781 kB / 0.6872 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.502, allocations: 21.47 kB / 0.6872 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.502, allocations: 1.438 kB / 0.6872 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000154/0.5022, allocations: 51.05 kB / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5022, allocations: 7.031 kB / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.5022, allocations: 3.938 kB / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5023, allocations: 0 / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.5023, allocations: 0 / 0.6873 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5023, allocations: 5.344 kB / 0.6873 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.5023, allocations: 11.92 kB / 0.6873 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5023, allocations: 1.344 kB / 0.6873 GB, free: 7.422 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 0.0001823/0.5025, allocations: 183.9 kB / 0.6875 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.5026, allocations: 119.7 kB / 0.6876 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.5027, allocations: 110.3 kB / 0.6877 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.665e-05/0.5027, allocations: 181.7 kB / 0.6879 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.075e-05/0.5028, allocations: 184.2 kB / 0.688 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.686e-05/0.5029, allocations: 177.5 kB / 0.6882 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.5032, allocations: 420.1 kB / 0.6886 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.5032, allocations: 102.4 kB / 0.6887 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.5033, allocations: 105 kB / 0.6888 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-05/0.5034, allocations: 189.6 kB / 0.689 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.5034, allocations: 177.3 kB / 0.6892 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.856e-05/0.5035, allocations: 185.4 kB / 0.6893 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-05/0.5036, allocations: 177.9 kB / 0.6895 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5037, allocations: 316 kB / 0.6898 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.5038, allocations: 188.8 kB / 0.69 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.988e-05/0.5039, allocations: 181.6 kB / 0.6902 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.504, allocations: 105 kB / 0.6903 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.5041, allocations: 181.5 kB / 0.6904 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.5042, allocations: 110.2 kB / 0.6905 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.5043, allocations: 106.1 kB / 0.6906 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5043, allocations: 0 / 0.6906 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001011/0.5053, allocations: 279.5 kB / 0.6909 GB, free: 3.746 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.001419/0.5067, allocations: 1.175 MB / 0.692 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.5068, allocations: 42.45 kB / 0.6921 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5068, allocations: 1.188 kB / 0.6921 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.5068, allocations: 0 / 0.6921 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5072, allocations: 463.9 kB / 0.6925 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.5087, allocations: 1.59 MB / 0.6941 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.509, allocations: 0.6845 MB / 0.6948 GB, free: 100 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.509, allocations: 1.125 kB / 0.6948 GB, free: 100 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.509, allocations: 21.77 kB / 0.6948 GB, free: 80 kB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.509, allocations: 0 / 0.6948 GB, free: 80 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.5414, allocations: 7.151 MB / 0.7018 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.457, allocations: 8.688 kB / 0.7018 GB, free: 10.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)