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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.004821/0.004821, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001169/0.001169, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.269/1.269, 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 0.904/0.904, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.5951 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 82.02 MB / 0.6752 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001926/0.3577, allocations: 1.431 MB / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003858/0.3616, allocations: 2.854 MB / 0.6794 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3617, allocations: 5.094 kB / 0.6794 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3617, allocations: 3.938 kB / 0.6794 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.3618, allocations: 13.8 kB / 0.6795 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.365, allocations: 1.558 MB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.3651, allocations: 40.8 kB / 0.681 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.3652, allocations: 11.48 kB / 0.681 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.3652, allocations: 14.59 kB / 0.681 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.311e-05/0.3652, allocations: 15.3 kB / 0.6811 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3652, allocations: 2.312 kB / 0.6811 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3672, allocations: 1.49 MB / 0.6825 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3672, allocations: 5.312 kB / 0.6825 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.3673, allocations: 22.67 kB / 0.6825 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3685, allocations: 1.072 MB / 0.6836 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3685, allocations: 0 / 0.6836 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3685, allocations: 1.406 kB / 0.6836 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3685, allocations: 0 / 0.6836 GB, free: 11.19 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.0005231/0.3691, allocations: 0.5118 MB / 0.6841 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3691, allocations: 14.41 kB / 0.6841 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.3692, allocations: 106 kB / 0.6842 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.3692, allocations: 77.59 kB / 0.6843 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3694, allocations: 255.7 kB / 0.6845 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.3694, allocations: 152.2 kB / 0.6847 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.3695, allocations: 154.9 kB / 0.6848 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.01e-05/0.3695, allocations: 110.4 kB / 0.6849 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3696, allocations: 75.28 kB / 0.685 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.3696, allocations: 150.6 kB / 0.6851 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.3696, allocations: 151.8 kB / 0.6853 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.518e-05/0.3697, allocations: 150.6 kB / 0.6854 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.37, allocations: 470.1 kB / 0.6859 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3701, allocations: 174.3 kB / 0.686 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.3701, allocations: 84.14 kB / 0.6861 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3702, allocations: 79.22 kB / 0.6862 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/0.3702, allocations: 107.3 kB / 0.6863 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3702, allocations: 4 kB / 0.6863 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.732e-05/0.3703, allocations: 40.25 kB / 0.6863 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3704, allocations: 126.7 kB / 0.6865 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3705, allocations: 135.8 kB / 0.6866 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3705, allocations: 27.08 kB / 0.6866 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3706, allocations: 85.52 kB / 0.6867 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.3706, allocations: 1.375 kB / 0.6867 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3706, allocations: 17.84 kB / 0.6867 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3707, allocations: 320.2 kB / 0.687 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3707, allocations: 6.75 kB / 0.687 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.3708, allocations: 4.125 kB / 0.687 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.3708, allocations: 8.984 kB / 0.687 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3708, allocations: 1.375 kB / 0.687 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.3709, allocations: 57.88 kB / 0.6871 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3709, allocations: 9.438 kB / 0.6871 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.371, allocations: 2.75 kB / 0.6871 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.371, allocations: 0 / 0.6871 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.371, allocations: 5.438 kB / 0.6871 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.371, allocations: 0 / 0.6871 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.371, allocations: 5.281 kB / 0.6871 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.371, allocations: 1.375 kB / 0.6871 GB, free: 7.484 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.08e-05/0.3711, allocations: 186.5 kB / 0.6873 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3712, allocations: 111.7 kB / 0.6874 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.3712, allocations: 114.2 kB / 0.6875 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.3713, allocations: 185.7 kB / 0.6877 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.265e-05/0.3713, allocations: 185.6 kB / 0.6879 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/0.3714, allocations: 177.6 kB / 0.688 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3716, allocations: 414.7 kB / 0.6884 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.3716, allocations: 106.3 kB / 0.6885 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.3716, allocations: 106.4 kB / 0.6886 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/0.3717, allocations: 184.2 kB / 0.6888 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.3718, allocations: 177.6 kB / 0.689 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.492e-05/0.3718, allocations: 181.6 kB / 0.6891 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.771e-05/0.3719, allocations: 181.6 kB / 0.6893 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.372, allocations: 315.7 kB / 0.6896 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.372, allocations: 188.8 kB / 0.6898 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3721, allocations: 177.6 kB / 0.69 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.3722, allocations: 104.9 kB / 0.6901 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.3722, allocations: 181.6 kB / 0.6902 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3723, allocations: 114.3 kB / 0.6904 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.3723, allocations: 101.5 kB / 0.6904 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3723, allocations: 0 / 0.6904 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007415/0.3731, allocations: 274.5 kB / 0.6907 GB, free: 3.812 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.001272/0.3744, allocations: 1.169 MB / 0.6919 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.3745, allocations: 38.58 kB / 0.6919 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3745, allocations: 0 / 0.6919 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3745, allocations: 0 / 0.6919 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3748, allocations: 467.6 kB / 0.6923 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.376, allocations: 1.562 MB / 0.6939 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3762, allocations: 0.688 MB / 0.6945 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.3763, allocations: 1.406 kB / 0.6945 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.3763, allocations: 20.73 kB / 0.6946 GB, free: 160 kB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.3763, allocations: 0 / 0.6946 GB, free: 160 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4005, allocations: 6.925 MB / 0.7013 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.687, allocations: 21.42 kB / 0.7013 GB, free: 11.32 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)