Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_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.0009119/0.0009117, allocations: 93.27 kB / 16.02 MB, free: 84 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.0009786/0.0009786, allocations: 176.1 kB / 16.92 MB, free: 6.684 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6749/0.6749, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 11.98 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 77.54 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003247/0.1541, allocations: 2.684 MB / 0.5627 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.1569, allocations: 2.071 MB / 0.5647 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.1573, allocations: 7.938 kB / 0.5647 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.1589, allocations: 482 kB / 0.5652 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.1594, allocations: 139.1 kB / 0.5653 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1595, allocations: 47.97 kB / 0.5654 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.1601, allocations: 465.9 kB / 0.5658 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1604, allocations: 127.9 kB / 0.5659 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1606, allocations: 139.3 kB / 0.5661 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1609, allocations: 167.2 kB / 0.5662 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.161, allocations: 16 kB / 0.5662 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.161, allocations: 20 kB / 0.5663 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1612, allocations: 83.61 kB / 0.5663 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1614, allocations: 220.7 kB / 0.5666 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.1618, allocations: 0.5214 MB / 0.5671 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1618, allocations: 4 kB / 0.5671 GB, free: 1.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1618, allocations: 0 / 0.5671 GB, free: 1.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1619, allocations: 0 / 0.5671 GB, free: 1.738 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009892/0.1629, allocations: 0.6424 MB / 0.5677 GB, free: 1.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1629, allocations: 8.031 kB / 0.5677 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.163, allocations: 58.67 kB / 0.5678 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.1631, allocations: 48.31 kB / 0.5678 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.1636, allocations: 370.1 kB / 0.5682 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1636, allocations: 20.8 kB / 0.5682 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1637, allocations: 20.38 kB / 0.5682 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.1641, allocations: 211.4 kB / 0.5684 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1641, allocations: 0 / 0.5684 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1641, allocations: 8 kB / 0.5684 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1642, allocations: 4 kB / 0.5684 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.1645, allocations: 177.6 kB / 0.5686 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1658, allocations: 0.874 MB / 0.5694 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.1661, allocations: 162.5 kB / 0.5696 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1663, allocations: 122.6 kB / 0.5697 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1664, allocations: 0 / 0.5697 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1664, allocations: 38.56 kB / 0.5697 GB, free: 14.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1664, allocations: 0 / 0.5697 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007933/0.1672, allocations: 269.3 kB / 0.57 GB, free: 14.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1673, allocations: 55.41 kB / 0.5701 GB, free: 14.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.1677, allocations: 421.7 kB / 0.5705 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1678, allocations: 29.64 kB / 0.5705 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1679, allocations: 200.3 kB / 0.5707 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.168, allocations: 74.92 kB / 0.5707 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.168, allocations: 21.72 kB / 0.5708 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1682, allocations: 346.8 kB / 0.5711 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1683, allocations: 67.91 kB / 0.5712 GB, free: 13.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1685, allocations: 58.2 kB / 0.5712 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.1688, allocations: 146.7 kB / 0.5714 GB, free: 13.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1688, allocations: 0 / 0.5714 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003958/0.1692, allocations: 221.2 kB / 0.5716 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1692, allocations: 4 kB / 0.5716 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1692, allocations: 3.938 kB / 0.5716 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1692, allocations: 0 / 0.5716 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1695, allocations: 59.89 kB / 0.5716 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1695, allocations: 3.938 kB / 0.5716 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1697, allocations: 39.73 kB / 0.5717 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1697, allocations: 4 kB / 0.5717 GB, free: 12.77 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 (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.0001592/0.1699, allocations: 161.8 kB / 0.5718 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.1699, allocations: 31.62 kB / 0.5719 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.17, allocations: 47.52 kB / 0.5719 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.17, allocations: 4 kB / 0.5719 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.17, allocations: 0 / 0.5719 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.17, allocations: 0 / 0.5719 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.1705, allocations: 373.3 kB / 0.5723 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1705, allocations: 0 / 0.5723 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1707, allocations: 59.95 kB / 0.5723 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1707, allocations: 4 kB / 0.5723 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1708, allocations: 3.938 kB / 0.5723 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1708, allocations: 0 / 0.5723 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1708, allocations: 0 / 0.5723 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.1714, allocations: 401.2 kB / 0.5727 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1715, allocations: 124.6 kB / 0.5728 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1715, allocations: 3.938 kB / 0.5728 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1717, allocations: 20.05 kB / 0.5729 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1718, allocations: 7.984 kB / 0.5729 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.1718, allocations: 8 kB / 0.5729 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003066/0.1721, allocations: 299.2 kB / 0.5732 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1721, allocations: 0 / 0.5732 GB, free: 11.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1724, allocations: 71.84 kB / 0.5732 GB, free: 11.09 MB / 446.1 MB 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.0008568/0.1733, allocations: 0.9425 MB / 0.5741 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1737, allocations: 155.9 kB / 0.5743 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1737, allocations: 0 / 0.5743 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1738, allocations: 83.97 kB / 0.5744 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.1745, allocations: 93.03 kB / 0.5745 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.1792, allocations: 3.75 MB / 0.5781 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1796, allocations: 0.8031 MB / 0.5789 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.1798, allocations: 30.97 kB / 0.5789 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.1799, allocations: 115.4 kB / 0.579 GB, free: 5 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1799, allocations: 0 / 0.579 GB, free: 5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2784/0.4583, allocations: 7.359 MB / 0.5862 GB, free: 30.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.4585, allocations: 269.5 kB / 0.5865 GB, free: 30.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.325, allocations: 0 / 0.5865 GB, free: 30.02 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)