Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.006243/0.006244, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001309/0.001309, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.015/1.015, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.91 kB / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.558, allocations: 82.02 MB / 0.6752 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004527/0.5626, allocations: 3.017 MB / 0.6782 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.5662, allocations: 2.151 MB / 0.6803 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.5665, allocations: 6.625 kB / 0.6803 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5681, allocations: 0.4903 MB / 0.6808 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.5685, allocations: 157.9 kB / 0.6809 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.5687, allocations: 61.67 kB / 0.681 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.5692, allocations: 441.3 kB / 0.6814 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.5695, allocations: 158.4 kB / 0.6815 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.5697, allocations: 160 kB / 0.6817 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.5699, allocations: 179.2 kB / 0.6819 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.57, allocations: 33.97 kB / 0.6819 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.5701, allocations: 34.69 kB / 0.6819 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5702, allocations: 99.3 kB / 0.682 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.5705, allocations: 216.5 kB / 0.6822 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007707/0.5712, allocations: 0.5648 MB / 0.6828 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5713, allocations: 3.938 kB / 0.6828 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5713, allocations: 1.375 kB / 0.6828 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5713, allocations: 0 / 0.6828 GB, free: 11.34 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001315/0.5726, allocations: 0.7044 MB / 0.6835 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5727, allocations: 9.625 kB / 0.6835 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.645e-05/0.5728, allocations: 57.61 kB / 0.6835 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.5729, allocations: 46.38 kB / 0.6836 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.5736, allocations: 381.4 kB / 0.6839 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5736, allocations: 17.06 kB / 0.684 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.5737, allocations: 22.12 kB / 0.684 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.5741, allocations: 203.1 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5741, allocations: 0 / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.5742, allocations: 10.75 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5742, allocations: 3.938 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.5746, allocations: 171.8 kB / 0.6843 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.5761, allocations: 0.8571 MB / 0.6852 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.5765, allocations: 152.9 kB / 0.6853 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.5768, allocations: 116.3 kB / 0.6854 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.5768, allocations: 1.125 kB / 0.6854 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5768, allocations: 37.05 kB / 0.6855 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.5768, allocations: 0 / 0.6855 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006747/0.5775, allocations: 265 kB / 0.6857 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5776, allocations: 52.78 kB / 0.6858 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.5781, allocations: 412.7 kB / 0.6862 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.5781, allocations: 31.36 kB / 0.6862 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5783, allocations: 207.4 kB / 0.6864 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.5784, allocations: 58.89 kB / 0.6865 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.5784, allocations: 32.58 kB / 0.6865 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5786, allocations: 352.7 kB / 0.6868 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.5787, allocations: 59.92 kB / 0.6869 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.5789, allocations: 54.5 kB / 0.6869 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.5792, allocations: 135.1 kB / 0.6871 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5792, allocations: 5.344 kB / 0.6871 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004782/0.5797, allocations: 216.2 kB / 0.6873 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5797, allocations: 7.625 kB / 0.6873 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5797, allocations: 3.938 kB / 0.6873 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.5798, allocations: 1.344 kB / 0.6873 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.5801, allocations: 48.81 kB / 0.6873 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5801, allocations: 5.297 kB / 0.6873 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5803, allocations: 26.27 kB / 0.6874 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.5803, allocations: 2.781 kB / 0.6874 GB, free: 7.723 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001881/0.5805, allocations: 170.8 kB / 0.6875 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.5806, allocations: 36.47 kB / 0.6876 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.5807, allocations: 43.53 kB / 0.6876 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5807, allocations: 1.125 kB / 0.6876 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.5807, allocations: 1.188 kB / 0.6876 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5807, allocations: 0 / 0.6876 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.5812, allocations: 378.3 kB / 0.688 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5812, allocations: 0 / 0.688 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.5816, allocations: 53.97 kB / 0.688 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5816, allocations: 9.344 kB / 0.688 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5816, allocations: 3.938 kB / 0.688 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5816, allocations: 1.312 kB / 0.688 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5816, allocations: 0 / 0.688 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.5825, allocations: 371.8 kB / 0.6884 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.5826, allocations: 120.3 kB / 0.6885 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.5827, allocations: 8 kB / 0.6885 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.583, allocations: 13.02 kB / 0.6885 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.5831, allocations: 8.953 kB / 0.6885 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.5831, allocations: 7.469 kB / 0.6885 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006922/0.5838, allocations: 298.8 kB / 0.6888 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5839, allocations: 0 / 0.6888 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005768/0.5845, allocations: 70.72 kB / 0.6889 GB, free: 6.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001506/0.586, allocations: 0.9287 MB / 0.6898 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.5865, allocations: 146.1 kB / 0.6899 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5866, allocations: 64 / 0.6899 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.5868, allocations: 82.31 kB / 0.69 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5879, allocations: 92.02 kB / 0.6901 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.5948, allocations: 3.49 MB / 0.6935 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.5953, allocations: 0.7951 MB / 0.6943 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.5955, allocations: 38.89 kB / 0.6943 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5957, allocations: 121.8 kB / 0.6944 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.5957, allocations: 0 / 0.6944 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.645, allocations: 8.014 MB / 0.7023 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.722/9.367, allocations: 10.81 kB / 0.7023 GB, free: 10.5 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)