Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.942/0.942, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 59.91 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1466, allocations: 82.04 MB / 0.5944 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004893/0.1516, allocations: 4.145 MB / 0.5985 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1547, allocations: 2.414 MB / 0.6008 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.155, allocations: 8 kB / 0.6009 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.1564, allocations: 0.5324 MB / 0.6014 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.1568, allocations: 246 kB / 0.6016 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.157, allocations: 135.9 kB / 0.6017 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006444/0.1576, allocations: 0.817 MB / 0.6025 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.158, allocations: 318.5 kB / 0.6028 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.1583, allocations: 294.9 kB / 0.6031 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.1586, allocations: 334.6 kB / 0.6034 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.1587, allocations: 72 kB / 0.6035 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1588, allocations: 76 kB / 0.6036 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.2662/0.425, allocations: 164.8 kB / 0.6037 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.4256, allocations: 385.2 kB / 0.6041 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007553/0.4263, allocations: 1.02 MB / 0.6051 GB, free: 38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4263, allocations: 0 / 0.6051 GB, free: 38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4263, allocations: 0 / 0.6051 GB, free: 38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4264, allocations: 1.031 kB / 0.6051 GB, free: 38 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00116/0.4275, allocations: 0.9527 MB / 0.606 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4276, allocations: 8.156 kB / 0.606 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.4276, allocations: 92.92 kB / 0.6061 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.4277, allocations: 75.94 kB / 0.6062 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.4282, allocations: 454.1 kB / 0.6066 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4282, allocations: 34 kB / 0.6067 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.4283, allocations: 47.5 kB / 0.6067 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.4289, allocations: 435.9 kB / 0.6071 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4289, allocations: 0.8438 kB / 0.6071 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.429, allocations: 19.56 kB / 0.6071 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.429, allocations: 11 kB / 0.6072 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.4295, allocations: 368 kB / 0.6075 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.4311, allocations: 1.536 MB / 0.609 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.4315, allocations: 341.1 kB / 0.6093 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.432, allocations: 325.8 kB / 0.6096 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.432, allocations: 3.516 kB / 0.6096 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.432, allocations: 40.84 kB / 0.6097 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.432, allocations: 1.219 kB / 0.6097 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008985/0.4329, allocations: 0.4898 MB / 0.6102 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.433, allocations: 57.19 kB / 0.6102 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.4335, allocations: 488.7 kB / 0.6107 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4335, allocations: 33.27 kB / 0.6107 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4336, allocations: 279.8 kB / 0.611 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.4337, allocations: 147.5 kB / 0.6111 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.4338, allocations: 63.88 kB / 0.6112 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.4339, allocations: 361.5 kB / 0.6115 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.4342, allocations: 123.4 kB / 0.6116 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.4344, allocations: 125.4 kB / 0.6118 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.4348, allocations: 301.2 kB / 0.6121 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4348, allocations: 0 / 0.6121 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005892/0.4354, allocations: 402.6 kB / 0.6124 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4354, allocations: 3.094 kB / 0.6124 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4355, allocations: 2.75 kB / 0.6124 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4355, allocations: 3.328 kB / 0.6124 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.4359, allocations: 124.5 kB / 0.6126 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.436, allocations: 3.406 kB / 0.6126 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4362, allocations: 29.22 kB / 0.6126 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4362, allocations: 16.53 kB / 0.6126 GB, free: 35.48 MB / 0.4981 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 (46): * Single equations (assignments): 46 * 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.0001533/0.4363, allocations: 195.3 kB / 0.6128 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.4364, allocations: 56.94 kB / 0.6129 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.4365, allocations: 57.53 kB / 0.6129 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4365, allocations: 6.094 kB / 0.6129 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.4365, allocations: 9.156 kB / 0.6129 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4365, allocations: 0 / 0.6129 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.437, allocations: 0.5647 MB / 0.6135 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.437, allocations: 4 kB / 0.6135 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4375, allocations: 127.3 kB / 0.6136 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4375, allocations: 6.797 kB / 0.6136 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.4375, allocations: 17.41 kB / 0.6136 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4375, allocations: 0 / 0.6136 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4376, allocations: 0 / 0.6136 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.4384, allocations: 0.6494 MB / 0.6143 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.4385, allocations: 141.1 kB / 0.6144 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.4386, allocations: 7.234 kB / 0.6144 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4388, allocations: 13.69 kB / 0.6144 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.4389, allocations: 25.17 kB / 0.6144 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4389, allocations: 9.141 kB / 0.6144 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000292/0.4392, allocations: 355.2 kB / 0.6148 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4392, allocations: 0 / 0.6148 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003392/0.4395, allocations: 144.7 kB / 0.6149 GB, free: 34.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.000903/0.4404, allocations: 1.203 MB / 0.6161 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006072/0.4411, allocations: 354.1 kB / 0.6164 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4411, allocations: 0 / 0.6164 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.4413, allocations: 180.8 kB / 0.6166 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.442, allocations: 132.1 kB / 0.6167 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.4472, allocations: 5.016 MB / 0.6216 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4475, allocations: 0.8681 MB / 0.6225 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.4478, allocations: 53.14 kB / 0.6225 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.448, allocations: 192.8 kB / 0.6227 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.448, allocations: 0 / 0.6227 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.4902, allocations: 11.25 MB / 0.6337 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/9.052, allocations: 7.766 kB / 0.6337 GB, free: 28.43 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)