Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008731, allocations: 92.95 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.0009946/0.0009947, allocations: 181.1 kB / 16.91 MB, free: 6.91 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.403/1.403, allocations: 223.2 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005784/0.0005785, allocations: 8 kB / 0.4934 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4439, allocations: 79.28 MB / 0.5708 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001824/0.4458, allocations: 1.15 MB / 0.5719 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.4503, allocations: 2.95 MB / 0.5748 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.4505, allocations: 0 / 0.5748 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.4505, allocations: 5.719 kB / 0.5748 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.4506, allocations: 15.62 kB / 0.5748 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.4549, allocations: 1.39 MB / 0.5762 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.455, allocations: 47.83 kB / 0.5762 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.4551, allocations: 2 kB / 0.5762 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.4551, allocations: 13.62 kB / 0.5762 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.4551, allocations: 13.98 kB / 0.5763 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4552, allocations: 2.625 kB / 0.5763 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.4586, allocations: 1.467 MB / 0.5777 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.4586, allocations: 6.484 kB / 0.5777 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.4586, allocations: 45.89 kB / 0.5777 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.4616, allocations: 1.126 MB / 0.5788 GB, free: 6.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4616, allocations: 4.781 kB / 0.5788 GB, free: 6.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4616, allocations: 0 / 0.5788 GB, free: 6.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4616, allocations: 0.6875 kB / 0.5788 GB, free: 6.578 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001211/0.4628, allocations: 0.5124 MB / 0.5793 GB, free: 6.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4629, allocations: 9.875 kB / 0.5794 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.4629, allocations: 82.59 kB / 0.5794 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4631, allocations: 250 kB / 0.5797 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.4631, allocations: 154.9 kB / 0.5798 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.4631, allocations: 156.4 kB / 0.58 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.457e-05/0.4632, allocations: 105.9 kB / 0.5801 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4632, allocations: 76.12 kB / 0.5801 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.4632, allocations: 155.1 kB / 0.5803 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.4633, allocations: 151.4 kB / 0.5804 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.4633, allocations: 159.2 kB / 0.5806 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.4635, allocations: 462.7 kB / 0.581 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.4636, allocations: 165.9 kB / 0.5812 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.4636, allocations: 84.64 kB / 0.5813 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4636, allocations: 80 kB / 0.5813 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4636, allocations: 111.7 kB / 0.5814 GB, free: 3.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.4637, allocations: 0 / 0.5814 GB, free: 3.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.979e-05/0.4637, allocations: 32.5 kB / 0.5815 GB, free: 3.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4638, allocations: 128.1 kB / 0.5816 GB, free: 3.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4639, allocations: 138.2 kB / 0.5817 GB, free: 3.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.464, allocations: 29.64 kB / 0.5818 GB, free: 3.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.464, allocations: 105.3 kB / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.464, allocations: 0 / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.464, allocations: 12.64 kB / 0.5819 GB, free: 3.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.4641, allocations: 318.5 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.4641, allocations: 4.859 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.4641, allocations: 10.97 kB / 0.5822 GB, free: 3.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.4642, allocations: 11.36 kB / 0.5822 GB, free: 3.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4642, allocations: 0 / 0.5822 GB, free: 3.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/0.4643, allocations: 50.53 kB / 0.5822 GB, free: 3.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4644, allocations: 9.656 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.4644, allocations: 3.641 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4644, allocations: 0.7188 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.4644, allocations: 0.7969 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4644, allocations: 0.75 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.4645, allocations: 8.594 kB / 0.5823 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4645, allocations: 1.438 kB / 0.5823 GB, free: 3.035 MB / 430.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.096e-05/0.4645, allocations: 192.1 kB / 0.5825 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.4646, allocations: 112.1 kB / 0.5826 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.4646, allocations: 112.6 kB / 0.5827 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.4647, allocations: 181.5 kB / 0.5828 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/0.4647, allocations: 182.5 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.4647, allocations: 181.6 kB / 0.5832 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4649, allocations: 414 kB / 0.5836 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.4649, allocations: 110.6 kB / 0.5837 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.4649, allocations: 106.4 kB / 0.5838 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.388e-05/0.4649, allocations: 181.7 kB / 0.584 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.465, allocations: 181.6 kB / 0.5841 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/0.465, allocations: 182 kB / 0.5843 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.453e-05/0.465, allocations: 181.7 kB / 0.5845 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.4651, allocations: 312.1 kB / 0.5848 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.4652, allocations: 197.6 kB / 0.585 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.4652, allocations: 177.8 kB / 0.5851 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4653, allocations: 102.6 kB / 0.5852 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4654, allocations: 186.1 kB / 0.5854 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.4654, allocations: 110.5 kB / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.4655, allocations: 97.8 kB / 0.5856 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4655, allocations: 0 / 0.5856 GB, free: 15.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4668, allocations: 281.3 kB / 0.5859 GB, free: 15.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00176/0.4686, allocations: 0.5379 MB / 0.5864 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.4687, allocations: 47.77 kB / 0.5865 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4688, allocations: 0 / 0.5865 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.4688, allocations: 0.7188 kB / 0.5865 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4692, allocations: 0.5461 MB / 0.587 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.4696, allocations: 256.8 kB / 0.5872 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.4699, allocations: 0.6877 MB / 0.5879 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.4699, allocations: 0 / 0.5879 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.4699, allocations: 10.47 kB / 0.5879 GB, free: 13.63 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4699, allocations: 0 / 0.5879 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Templates: time 0.01446/0.4844, allocations: 5.678 MB / 0.5935 GB, free: 12.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)