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.003955/0.003955, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001031/0.001031, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.234/1.234, 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.8814/0.8814, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 0.5951 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3243, allocations: 82.02 MB / 0.6752 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002003/0.3263, allocations: 1.435 MB / 0.6766 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.3302, allocations: 2.896 MB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.3303, allocations: 1.344 kB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.3303, allocations: 3.938 kB / 0.6795 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.3304, allocations: 14.8 kB / 0.6795 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.3338, allocations: 1.594 MB / 0.6811 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.3339, allocations: 42.64 kB / 0.6811 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.334, allocations: 6.844 kB / 0.6811 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.334, allocations: 11.28 kB / 0.6811 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.334, allocations: 16.59 kB / 0.6811 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.334, allocations: 0 / 0.6811 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.3359, allocations: 1.533 MB / 0.6826 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.336, allocations: 9.312 kB / 0.6826 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.336, allocations: 16.12 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3372, allocations: 1.108 MB / 0.6837 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3372, allocations: 0 / 0.6837 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3372, allocations: 0 / 0.6837 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3372, allocations: 0 / 0.6837 GB, free: 11.13 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.0004797/0.3377, allocations: 0.5177 MB / 0.6842 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.3377, allocations: 9.625 kB / 0.6842 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.3378, allocations: 110 kB / 0.6844 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.3378, allocations: 78.97 kB / 0.6844 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.338, allocations: 249.7 kB / 0.6847 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.338, allocations: 156.3 kB / 0.6848 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.3381, allocations: 154.9 kB / 0.685 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.662e-05/0.3381, allocations: 110.2 kB / 0.6851 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3381, allocations: 75.28 kB / 0.6851 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.3382, allocations: 150.6 kB / 0.6853 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.3382, allocations: 151.9 kB / 0.6854 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.3383, allocations: 150.6 kB / 0.6856 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3385, allocations: 474 kB / 0.686 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.905e-05/0.3386, allocations: 174.4 kB / 0.6862 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.3386, allocations: 84.14 kB / 0.6863 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3386, allocations: 79.22 kB / 0.6863 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3387, allocations: 111.2 kB / 0.6864 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3387, allocations: 0 / 0.6864 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.201e-05/0.3387, allocations: 32.45 kB / 0.6865 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3388, allocations: 130.6 kB / 0.6866 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3389, allocations: 137.1 kB / 0.6867 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3389, allocations: 25.7 kB / 0.6868 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.339, allocations: 90.88 kB / 0.6868 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.339, allocations: 4 kB / 0.6869 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.339, allocations: 23.16 kB / 0.6869 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.3391, allocations: 320.2 kB / 0.6872 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.3391, allocations: 4.125 kB / 0.6872 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.3391, allocations: 2.75 kB / 0.6872 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.3392, allocations: 15.14 kB / 0.6872 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3392, allocations: 0 / 0.6872 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001126/0.3393, allocations: 57.27 kB / 0.6873 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3393, allocations: 8.141 kB / 0.6873 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3393, allocations: 7.281 kB / 0.6873 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3394, allocations: 5.328 kB / 0.6873 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3394, allocations: 0 / 0.6873 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3394, allocations: 0 / 0.6873 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.3394, allocations: 8.719 kB / 0.6873 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3394, allocations: 1.531 kB / 0.6873 GB, free: 7.41 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 7.274e-05/0.3395, allocations: 186.7 kB / 0.6875 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.3395, allocations: 112.6 kB / 0.6876 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.3396, allocations: 122.3 kB / 0.6877 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/0.3397, allocations: 177.4 kB / 0.6879 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.565e-05/0.3397, allocations: 177.7 kB / 0.688 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-05/0.3398, allocations: 184.2 kB / 0.6882 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.3399, allocations: 416.5 kB / 0.6886 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.34, allocations: 110.1 kB / 0.6887 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.34, allocations: 102.4 kB / 0.6888 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.814e-05/0.3401, allocations: 176.3 kB / 0.689 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.3401, allocations: 189.7 kB / 0.6891 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/0.3402, allocations: 177.9 kB / 0.6893 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.835e-05/0.3402, allocations: 184.2 kB / 0.6895 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3403, allocations: 312.7 kB / 0.6898 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.3404, allocations: 184.8 kB / 0.69 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.3405, allocations: 181.9 kB / 0.6901 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.3405, allocations: 104.9 kB / 0.6902 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3406, allocations: 185.8 kB / 0.6904 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3406, allocations: 106.1 kB / 0.6905 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.3407, allocations: 101.5 kB / 0.6906 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 0.6906 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005993/0.3413, allocations: 282.4 kB / 0.6909 GB, free: 3.738 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.001124/0.3424, allocations: 1.176 MB / 0.692 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.3425, allocations: 42.39 kB / 0.6921 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3425, allocations: 5.406 kB / 0.6921 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.3425, allocations: 8 kB / 0.6921 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3429, allocations: 467.5 kB / 0.6925 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.344, allocations: 1.583 MB / 0.6941 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.3442, allocations: 0.6851 MB / 0.6947 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.3442, allocations: 7.969 kB / 0.6948 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.3443, allocations: 14.03 kB / 0.6948 GB, free: 64 kB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.3443, allocations: 0 / 0.6948 GB, free: 64 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.3673, allocations: 7.144 MB / 0.7017 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.541, allocations: 16.62 kB / 0.7018 GB, free: 10.88 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)