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.000728/0.000728, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004288/0.004288, allocations: 173.9 kB / 16.26 MB, free: 6.676 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.8848/0.8848, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8.281 kB / 0.5166 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 83.41 MB / 0.598 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002711/0.1439, allocations: 2.698 MB / 0.6006 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.146, allocations: 2.075 MB / 0.6027 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1461, allocations: 4 kB / 0.6027 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1471, allocations: 476.3 kB / 0.6031 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1473, allocations: 139.1 kB / 0.6033 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.367e-05/0.1474, allocations: 51.91 kB / 0.6033 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1478, allocations: 465.8 kB / 0.6038 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.148, allocations: 127.9 kB / 0.6039 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1482, allocations: 131.4 kB / 0.604 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1484, allocations: 167.2 kB / 0.6042 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1484, allocations: 16 kB / 0.6042 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.1485, allocations: 24 kB / 0.6042 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.1485, allocations: 87.55 kB / 0.6043 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1487, allocations: 220.7 kB / 0.6045 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.1491, allocations: 0.5408 MB / 0.605 GB, free: 376 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1491, allocations: 0 / 0.605 GB, free: 376 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1491, allocations: 0 / 0.605 GB, free: 376 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1491, allocations: 0 / 0.605 GB, free: 376 kB / 0.4981 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.2184/0.3676, allocations: 0.6346 MB / 0.6056 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3676, allocations: 9 kB / 0.6057 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.3677, allocations: 55.5 kB / 0.6057 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.3678, allocations: 46.25 kB / 0.6058 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3682, allocations: 375.8 kB / 0.6061 GB, free: 41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3682, allocations: 16.03 kB / 0.6061 GB, free: 41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.3683, allocations: 28.19 kB / 0.6062 GB, free: 41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.3686, allocations: 208.8 kB / 0.6064 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3686, allocations: 3.938 kB / 0.6064 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3687, allocations: 7.25 kB / 0.6064 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3687, allocations: 6.094 kB / 0.6064 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.369, allocations: 173.5 kB / 0.6065 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.3698, allocations: 0.8725 MB / 0.6074 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3701, allocations: 161.3 kB / 0.6075 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.3703, allocations: 117.6 kB / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3703, allocations: 0.8438 kB / 0.6077 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.3703, allocations: 37.81 kB / 0.6077 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.3703, allocations: 0.5 kB / 0.6077 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004912/0.3708, allocations: 274.6 kB / 0.608 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.3708, allocations: 58.66 kB / 0.608 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3712, allocations: 415.2 kB / 0.6084 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3712, allocations: 31.23 kB / 0.6084 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.3713, allocations: 206.3 kB / 0.6086 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3713, allocations: 64.42 kB / 0.6087 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.3714, allocations: 18.92 kB / 0.6087 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.3714, allocations: 351 kB / 0.609 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3715, allocations: 64.86 kB / 0.6091 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3717, allocations: 67.55 kB / 0.6092 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.3719, allocations: 148.1 kB / 0.6093 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3719, allocations: 0 / 0.6093 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003065/0.3722, allocations: 209.7 kB / 0.6095 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3723, allocations: 13.86 kB / 0.6095 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3723, allocations: 0 / 0.6095 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3723, allocations: 3.938 kB / 0.6095 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.3725, allocations: 61.67 kB / 0.6096 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3725, allocations: 0 / 0.6096 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3727, allocations: 31.59 kB / 0.6096 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3727, allocations: 2.906 kB / 0.6096 GB, free: 39.68 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 (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.0001011/0.3728, allocations: 162.2 kB / 0.6098 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3728, allocations: 37.14 kB / 0.6098 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.3729, allocations: 42.67 kB / 0.6099 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3729, allocations: 6.438 kB / 0.6099 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3729, allocations: 0 / 0.6099 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3729, allocations: 4.781 kB / 0.6099 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3732, allocations: 374.1 kB / 0.6102 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3732, allocations: 0.5 kB / 0.6102 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.3734, allocations: 59.31 kB / 0.6103 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3734, allocations: 0 / 0.6103 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3735, allocations: 6.906 kB / 0.6103 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3735, allocations: 6.875 kB / 0.6103 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3735, allocations: 1.156 kB / 0.6103 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.3739, allocations: 401.2 kB / 0.6107 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.374, allocations: 114.6 kB / 0.6108 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.374, allocations: 1.344 kB / 0.6108 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3742, allocations: 18.23 kB / 0.6108 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.3742, allocations: 13.42 kB / 0.6108 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.3743, allocations: 5.625 kB / 0.6108 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002451/0.3745, allocations: 302.1 kB / 0.6111 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3745, allocations: 4.062 kB / 0.6111 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002581/0.3748, allocations: 72.03 kB / 0.6112 GB, free: 38.96 MB / 0.4981 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.0006012/0.3754, allocations: 0.9344 MB / 0.6121 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.3757, allocations: 162.7 kB / 0.6122 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3757, allocations: 0 / 0.6122 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3758, allocations: 85.34 kB / 0.6123 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3763, allocations: 93.41 kB / 0.6124 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.3799, allocations: 3.739 MB / 0.6161 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3801, allocations: 0.7949 MB / 0.6168 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.3802, allocations: 40.33 kB / 0.6169 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3804, allocations: 121.1 kB / 0.617 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3804, allocations: 0 / 0.617 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.272/1.652, allocations: 7.397 MB / 0.6242 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.653, allocations: 279 kB / 0.6245 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/3.655, allocations: 0 / 0.6245 GB, free: 34.98 MB / 0.4981 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)