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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.0009058, allocations: 96.81 kB / 15.68 MB, free: 488 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.001036/0.001036, allocations: 176.5 kB / 16.57 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.428/1.428, allocations: 223.2 MB / 240.5 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 113.7 MB / 405.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 13.97 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 77.1 MB / 0.5568 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003677/0.1835, allocations: 3.254 MB / 0.5599 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1863, allocations: 2.187 MB / 0.5621 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.1866, allocations: 12 kB / 0.5621 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1878, allocations: 474.2 kB / 0.5625 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.1882, allocations: 251.3 kB / 0.5628 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.1884, allocations: 79.92 kB / 0.5629 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.189, allocations: 0.5623 MB / 0.5634 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.1894, allocations: 237.5 kB / 0.5636 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1897, allocations: 239.1 kB / 0.5639 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1899, allocations: 262.9 kB / 0.5641 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.19, allocations: 36 kB / 0.5641 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1901, allocations: 36 kB / 0.5642 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1902, allocations: 127.5 kB / 0.5643 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1903, allocations: 161.4 kB / 0.5645 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.191, allocations: 0.7828 MB / 0.5652 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.191, allocations: 0 / 0.5652 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.191, allocations: 0 / 0.5652 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.191, allocations: 4 kB / 0.5652 GB, free: 2.988 MB / 430.1 MB 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.001228/0.1923, allocations: 0.845 MB / 0.566 GB, free: 2.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1923, allocations: 12.03 kB / 0.5661 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.1924, allocations: 94.45 kB / 0.5661 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1926, allocations: 71.16 kB / 0.5662 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.1932, allocations: 444.6 kB / 0.5666 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1932, allocations: 37 kB / 0.5667 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.1933, allocations: 47.95 kB / 0.5667 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008269/0.1941, allocations: 430.5 kB / 0.5671 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1942, allocations: 4 kB / 0.5671 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.1942, allocations: 16 kB / 0.5671 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1942, allocations: 12 kB / 0.5672 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007134/0.195, allocations: 371.8 kB / 0.5675 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.1971, allocations: 1.536 MB / 0.569 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1976, allocations: 351.5 kB / 0.5693 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1977, allocations: 4 kB / 0.5694 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1977, allocations: 34.5 kB / 0.5694 GB, free: 14.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.1977, allocations: 0 / 0.5694 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001054/0.1988, allocations: 0.5171 MB / 0.5699 GB, free: 14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1988, allocations: 59.34 kB / 0.5699 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.1995, allocations: 485.9 kB / 0.5704 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1995, allocations: 29.7 kB / 0.5704 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.1998, allocations: 280.3 kB / 0.5707 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1999, allocations: 141.9 kB / 0.5708 GB, free: 13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.1999, allocations: 8 kB / 0.5708 GB, free: 12.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2001, allocations: 362.8 kB / 0.5712 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.2004, allocations: 124.7 kB / 0.5713 GB, free: 12.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2006, allocations: 121.5 kB / 0.5714 GB, free: 12.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2009, allocations: 151.7 kB / 0.5716 GB, free: 12.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.201, allocations: 0 / 0.5716 GB, free: 12.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006691/0.2016, allocations: 408.5 kB / 0.572 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2017, allocations: 10.34 kB / 0.572 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2017, allocations: 0 / 0.572 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2017, allocations: 4 kB / 0.572 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.2022, allocations: 127.8 kB / 0.5721 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2022, allocations: 4 kB / 0.5721 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2025, allocations: 59.55 kB / 0.5722 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.2026, allocations: 12 kB / 0.5722 GB, free: 11.62 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.2028, allocations: 193.8 kB / 0.5724 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.188e-05/0.2029, allocations: 51.34 kB / 0.5724 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.203, allocations: 61.09 kB / 0.5725 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.203, allocations: 4 kB / 0.5725 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.203, allocations: 4 kB / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.203, allocations: 3.984 kB / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.2037, allocations: 0.5673 MB / 0.573 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2037, allocations: 0 / 0.573 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.2043, allocations: 131.8 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2043, allocations: 0 / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2043, allocations: 8 kB / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2043, allocations: 0 / 0.5732 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2043, allocations: 8 kB / 0.5732 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2054, allocations: 0.6671 MB / 0.5738 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.2055, allocations: 144.3 kB / 0.574 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.2056, allocations: 8 kB / 0.574 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2058, allocations: 19.98 kB / 0.574 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.2059, allocations: 23.97 kB / 0.574 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2059, allocations: 8 kB / 0.574 GB, free: 9.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003721/0.2063, allocations: 355.1 kB / 0.5744 GB, free: 9.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2063, allocations: 0 / 0.5744 GB, free: 9.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.2067, allocations: 143.6 kB / 0.5745 GB, free: 9.152 MB / 446.1 MB 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 (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.001194/0.2079, allocations: 1.229 MB / 0.5757 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.2085, allocations: 328.3 kB / 0.576 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2085, allocations: 0 / 0.576 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.2088, allocations: 191.4 kB / 0.5762 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.2094, allocations: 119.3 kB / 0.5763 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.2144, allocations: 3.273 MB / 0.5795 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.2148, allocations: 0.8863 MB / 0.5804 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.2151, allocations: 48.39 kB / 0.5804 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.2153, allocations: 191.4 kB / 0.5806 GB, free: 2.805 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2153, allocations: 0 / 0.5806 GB, free: 2.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3231/0.5384, allocations: 10.3 MB / 0.5906 GB, free: 29.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.5386, allocations: 242.6 kB / 0.5909 GB, free: 29.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.153, allocations: 0 / 0.5909 GB, free: 29.71 MB / 446.1 MB (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) Environment - environmentSimulation: