Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 109.3 kB / 15.7 MB, free: 132 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.001379/0.001379, allocations: 193.8 kB / 16.63 MB, free: 6.609 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.294/1.294, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 286 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9132/0.9132, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 96.23 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1591, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002018/0.1612, allocations: 1.297 MB / 0.7676 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.163, allocations: 1.345 MB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1631, allocations: 0 / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1631, allocations: 3.984 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.1632, allocations: 11.92 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.164, allocations: 365.1 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.1641, allocations: 47.83 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.1642, allocations: 0 / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.1642, allocations: 15.98 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.1643, allocations: 19.97 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1643, allocations: 4 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.165, allocations: 0.5265 MB / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1651, allocations: 19.92 kB / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1651, allocations: 11.94 kB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.1655, allocations: 351.3 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1656, allocations: 0 / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1656, allocations: 0 / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1656, allocations: 0 / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004735/0.166, allocations: 411.3 kB / 0.7707 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1661, allocations: 8.031 kB / 0.7707 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.1664, allocations: 36.91 kB / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1665, allocations: 172.2 kB / 0.7709 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1666, allocations: 4.375 kB / 0.7709 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1666, allocations: 4.375 kB / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1667, allocations: 61.97 kB / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1667, allocations: 0 / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1667, allocations: 0 / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1667, allocations: 4 kB / 0.771 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1669, allocations: 59.88 kB / 0.771 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1671, allocations: 169.7 kB / 0.7712 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1672, allocations: 62.55 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1673, allocations: 28.97 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.1678, allocations: 208.9 kB / 0.7715 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1678, allocations: 38.5 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1678, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002479/0.1681, allocations: 101.5 kB / 0.7716 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1681, allocations: 55.41 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1682, allocations: 117.8 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1683, allocations: 29.7 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.1683, allocations: 84.12 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1683, allocations: 19.75 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1684, allocations: 25.72 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1685, allocations: 314.8 kB / 0.7722 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.1686, allocations: 19.98 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.1686, allocations: 19.98 kB / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.1687, allocations: 45.16 kB / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1687, allocations: 0 / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001339/0.1689, allocations: 81.58 kB / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1689, allocations: 11.94 kB / 0.7724 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1689, allocations: 4 kB / 0.7724 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1689, allocations: 0 / 0.7724 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.169, allocations: 19.98 kB / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.169, allocations: 0 / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.1691, allocations: 0 / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1691, allocations: 7.984 kB / 0.7724 GB, free: 1.969 MB / 0.5606 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 (6): * Single equations (assignments): 6 * 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 8.035e-05/0.1692, allocations: 118.5 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.1692, allocations: 7.844 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.1696, allocations: 284.4 kB / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1696, allocations: 4 kB / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1697, allocations: 0 / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1697, allocations: 0 / 0.7728 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1698, allocations: 177.6 kB / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1698, allocations: 0 / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.1699, allocations: 16 kB / 0.773 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1699, allocations: 3.938 kB / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1699, allocations: 4.062 kB / 0.773 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1699, allocations: 4 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1699, allocations: 0 / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1701, allocations: 116.9 kB / 0.7731 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.1701, allocations: 92.92 kB / 0.7732 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1702, allocations: 0 / 0.7732 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.1702, allocations: 4 kB / 0.7732 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1702, allocations: 11.92 kB / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1702, allocations: 4 kB / 0.7732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.1703, allocations: 91.27 kB / 0.7733 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1703, allocations: 0 / 0.7733 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003122/0.1706, allocations: 116 kB / 0.7734 GB, free: 0.8359 MB / 0.5606 GB 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 (7): * Single equations (assignments): 7 * 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.0004345/0.1711, allocations: 235.1 kB / 0.7736 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1712, allocations: 51.91 kB / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1712, allocations: 0 / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.1713, allocations: 31.97 kB / 0.7737 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.1715, allocations: 23.41 kB / 0.7737 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.1718, allocations: 162.5 kB / 0.7739 GB, free: 320 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2829/0.4547, allocations: 0.6823 MB / 0.7746 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.4552, allocations: 259.9 kB / 0.7748 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.4552, allocations: 15.16 kB / 0.7748 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.4552, allocations: 0.5938 kB / 0.7748 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.005992/0.4612, allocations: 2.83 MB / 0.7776 GB, free: 14.32 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)