Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5052/0.5052, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009822, allocations: 102.9 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.881e-05, allocations: 4 kB / 0.4898 GB, free: 5.199 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 72.3 MB / 0.5604 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5374, allocations: 112.1 MB / 0.6699 GB, free: 8.121 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5378, allocations: 107.9 kB / 0.67 GB, free: 8.016 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0626/0.6004, allocations: 22.23 MB / 0.6917 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6005, allocations: 0 / 0.6917 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.6005, allocations: 12 kB / 0.6917 GB, free: 1.727 MB / 0.4948 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.001607/0.6022, allocations: 0.7553 MB / 0.6924 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.6022, allocations: 15.98 kB / 0.6924 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.6024, allocations: 90.52 kB / 0.6925 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.6026, allocations: 76.19 kB / 0.6926 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.6034, allocations: 432.8 kB / 0.693 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.6035, allocations: 41 kB / 0.6931 GB, free: 236 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.6036, allocations: 51.91 kB / 0.6931 GB, free: 184 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.6044, allocations: 394.6 kB / 0.6935 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.6045, allocations: 3.984 kB / 0.6935 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.6045, allocations: 20 kB / 0.6935 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.6045, allocations: 12 kB / 0.6935 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.6052, allocations: 339.8 kB / 0.6938 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.6076, allocations: 1.532 MB / 0.6953 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.6081, allocations: 315 kB / 0.6956 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.6086, allocations: 333.5 kB / 0.6959 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.6086, allocations: 8.781 kB / 0.696 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6087, allocations: 42.56 kB / 0.696 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 6.362e-06/0.6087, allocations: 3.984 kB / 0.696 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0006395/0.6093, allocations: 349 kB / 0.6963 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.6094, allocations: 55.41 kB / 0.6964 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.61, allocations: 427.2 kB / 0.6968 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.61, allocations: 33.7 kB / 0.6968 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.6102, allocations: 272.4 kB / 0.6971 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.6104, allocations: 149.8 kB / 0.6972 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.6104, allocations: 10.44 kB / 0.6972 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6106, allocations: 362.8 kB / 0.6976 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.6108, allocations: 104.8 kB / 0.6977 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.611, allocations: 117.2 kB / 0.6978 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.6112, allocations: 126.3 kB / 0.6979 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6112, allocations: 0 / 0.6979 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005743/0.6118, allocations: 360.2 kB / 0.6983 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.6118, allocations: 8 kB / 0.6983 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6119, allocations: 0 / 0.6983 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6119, allocations: 0 / 0.6983 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.6124, allocations: 127.9 kB / 0.6984 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.6124, allocations: 3.984 kB / 0.6984 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.6128, allocations: 55.58 kB / 0.6984 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.6128, allocations: 8 kB / 0.6985 GB, free: 10.54 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.6129, allocations: 120.9 kB / 0.6986 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.613, allocations: 51.39 kB / 0.6986 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.6132, allocations: 64.88 kB / 0.6987 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.6132, allocations: 7.938 kB / 0.6987 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6132, allocations: 4 kB / 0.6987 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.6132, allocations: 3.984 kB / 0.6987 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.614, allocations: 0.5673 MB / 0.6993 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.614, allocations: 0 / 0.6993 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.6146, allocations: 123.9 kB / 0.6994 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.6146, allocations: 7.984 kB / 0.6994 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.6147, allocations: 7.953 kB / 0.6994 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6147, allocations: 4 kB / 0.6994 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6147, allocations: 4.938 kB / 0.6994 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.6155, allocations: 0.6038 MB / 0.7 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.6157, allocations: 136.4 kB / 0.7001 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.6157, allocations: 8 kB / 0.7001 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.616, allocations: 23.94 kB / 0.7001 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.6161, allocations: 27.97 kB / 0.7002 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.6161, allocations: 12 kB / 0.7002 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000409/0.6165, allocations: 349.1 kB / 0.7005 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6165, allocations: 0 / 0.7005 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004958/0.617, allocations: 147.7 kB / 0.7007 GB, free: 8.199 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.6184, allocations: 1.306 MB / 0.7019 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005053/0.6189, allocations: 303.2 kB / 0.7022 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6189, allocations: 3.938 kB / 0.7022 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.6192, allocations: 163.6 kB / 0.7024 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.6198, allocations: 126.6 kB / 0.7025 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.6218, allocations: 1.015 MB / 0.7035 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.6222, allocations: 0.8863 MB / 0.7044 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.6224, allocations: 48.36 kB / 0.7044 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.6227, allocations: 199.4 kB / 0.7046 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.6227, allocations: 0 / 0.7046 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3747/0.9975, allocations: 12.53 MB / 0.7168 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.9978, allocations: 220.1 kB / 0.717 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.221, allocations: 2.656 kB / 0.717 GB, free: 131.1 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)