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.001181/0.001181, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001195/0.001195, allocations: 190 kB / 16.25 MB, free: 6.145 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.178/1.178, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8449/0.8449, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 63.91 kB / 0.5138 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1221, allocations: 82.04 MB / 0.5939 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003524/0.1257, allocations: 3.059 MB / 0.5969 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1278, allocations: 2.118 MB / 0.599 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1279, allocations: 8 kB / 0.599 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1289, allocations: 474 kB / 0.5995 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1291, allocations: 131.1 kB / 0.5996 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.365e-05/0.1292, allocations: 55.95 kB / 0.5996 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.1296, allocations: 447.6 kB / 0.6001 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1298, allocations: 147.2 kB / 0.6002 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.13, allocations: 159.4 kB / 0.6004 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1302, allocations: 183.1 kB / 0.6005 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.1302, allocations: 32 kB / 0.6006 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.1303, allocations: 36 kB / 0.6006 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.1304, allocations: 95.67 kB / 0.6007 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1305, allocations: 226.9 kB / 0.6009 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1309, allocations: 0.5644 MB / 0.6015 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.131, allocations: 4 kB / 0.6015 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.131, allocations: 0 / 0.6015 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.131, allocations: 3.938 kB / 0.6015 GB, free: 2.023 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008118/0.1318, allocations: 0.7026 MB / 0.6022 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1318, allocations: 8.031 kB / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.1319, allocations: 58.73 kB / 0.6022 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.1319, allocations: 44.38 kB / 0.6023 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1323, allocations: 378.1 kB / 0.6026 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1323, allocations: 16.81 kB / 0.6026 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.1324, allocations: 16.38 kB / 0.6027 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1327, allocations: 211.4 kB / 0.6029 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1327, allocations: 0 / 0.6029 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1328, allocations: 16 kB / 0.6029 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1328, allocations: 4 kB / 0.6029 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1331, allocations: 157.7 kB / 0.603 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.3373, allocations: 0.8635 MB / 0.6039 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.3376, allocations: 149.5 kB / 0.604 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3378, allocations: 117.7 kB / 0.6041 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3378, allocations: 3.969 kB / 0.6041 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.3378, allocations: 37.19 kB / 0.6042 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.3378, allocations: 0 / 0.6042 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004722/0.3383, allocations: 247.8 kB / 0.6044 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.3383, allocations: 57.62 kB / 0.6045 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.3386, allocations: 417.8 kB / 0.6049 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3387, allocations: 29.7 kB / 0.6049 GB, free: 43.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.3388, allocations: 207.6 kB / 0.6051 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3388, allocations: 60.66 kB / 0.6051 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3389, allocations: 38.22 kB / 0.6052 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.3389, allocations: 347.8 kB / 0.6055 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.339, allocations: 57.7 kB / 0.6056 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3392, allocations: 57.06 kB / 0.6056 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.3394, allocations: 138.8 kB / 0.6057 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3394, allocations: 1.562 kB / 0.6057 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002917/0.3397, allocations: 208.2 kB / 0.6059 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3397, allocations: 10.34 kB / 0.606 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3397, allocations: 0 / 0.606 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3397, allocations: 3.844 kB / 0.606 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.3399, allocations: 49.19 kB / 0.606 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.34, allocations: 3.062 kB / 0.606 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3401, allocations: 26.25 kB / 0.606 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3401, allocations: 10.12 kB / 0.606 GB, free: 43.36 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 9.696e-05/0.3402, allocations: 163.4 kB / 0.6062 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3403, allocations: 39.88 kB / 0.6062 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3403, allocations: 38.92 kB / 0.6063 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3403, allocations: 3.375 kB / 0.6063 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3404, allocations: 0 / 0.6063 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3404, allocations: 7.156 kB / 0.6063 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3406, allocations: 377.1 kB / 0.6066 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3406, allocations: 0 / 0.6066 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3409, allocations: 50.8 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3409, allocations: 6.984 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3409, allocations: 2.688 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3409, allocations: 2.062 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3409, allocations: 2.75 kB / 0.6067 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3414, allocations: 380.5 kB / 0.6071 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.3414, allocations: 123 kB / 0.6072 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3415, allocations: 4.25 kB / 0.6072 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3416, allocations: 13.72 kB / 0.6072 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3417, allocations: 9.344 kB / 0.6072 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3417, allocations: 8.531 kB / 0.6072 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002154/0.3419, allocations: 307.5 kB / 0.6075 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3419, allocations: 0 / 0.6075 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002629/0.3422, allocations: 74.19 kB / 0.6076 GB, free: 42.66 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.000581/0.3428, allocations: 0.9188 MB / 0.6085 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3431, allocations: 157.3 kB / 0.6086 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3431, allocations: 0 / 0.6086 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3432, allocations: 87.84 kB / 0.6087 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.3437, allocations: 86.95 kB / 0.6088 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.347, allocations: 3.654 MB / 0.6124 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3472, allocations: 0.7973 MB / 0.6131 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3473, allocations: 32.14 kB / 0.6132 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3474, allocations: 118.7 kB / 0.6133 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3474, allocations: 0 / 0.6133 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.288/2.636, allocations: 7.711 MB / 0.6208 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/2.636, allocations: 280.1 kB / 0.6211 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/4.513, allocations: 6.156 kB / 0.6211 GB, free: 38.23 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)