Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.006813/0.006813, allocations: 94.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 202.4 kB / 16.68 MB, free: 5.973 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002666, allocations: 286.8 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 95.97 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1597, allocations: 86.97 MB / 0.766 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001826/0.1616, allocations: 0.5781 MB / 0.7665 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.164, allocations: 1.592 MB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.164, allocations: 3.938 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.1641, allocations: 7.984 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.1641, allocations: 0 / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.1649, allocations: 201.4 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.165, allocations: 23.92 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1651, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.1651, allocations: 11.98 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.1651, allocations: 4 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1651, allocations: 3.984 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.1657, allocations: 283.5 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1657, allocations: 7.938 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1658, allocations: 15.92 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1661, allocations: 167.7 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1661, allocations: 0 / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1661, allocations: 0 / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1661, allocations: 0 / 0.7688 GB, free: 5.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004489/0.1666, allocations: 367.1 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1666, allocations: 12.03 kB / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.1667, allocations: 34.75 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.1676, allocations: 76.81 kB / 0.7692 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1678, allocations: 172.4 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1678, allocations: 384 / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1678, allocations: 4.312 kB / 0.7694 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.168, allocations: 89.72 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.168, allocations: 0 / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1681, allocations: 0 / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1681, allocations: 0 / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.1683, allocations: 83.88 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.1686, allocations: 189.6 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1687, allocations: 90.44 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.1688, allocations: 44.89 kB / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1688, allocations: 4 kB / 0.7699 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1689, allocations: 34.5 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1689, allocations: 0 / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.000353/0.1692, allocations: 141.6 kB / 0.7701 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1693, allocations: 51.41 kB / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.1694, allocations: 105.8 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1694, allocations: 25.7 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1695, allocations: 88.14 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.1695, allocations: 19.83 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.1696, allocations: 29.69 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1697, allocations: 314.8 kB / 0.7707 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.1698, allocations: 35.95 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1699, allocations: 31.97 kB / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.17, allocations: 69.44 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.17, allocations: 0 / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002234/0.1702, allocations: 125.5 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1703, allocations: 8 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1703, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.1705, allocations: 23.91 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1705, allocations: 3.938 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1706, allocations: 4 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1706, allocations: 3.984 kB / 0.771 GB, free: 3.516 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 (5): * Single equations (assignments): 5 * 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 9.984e-05/0.1708, allocations: 114.5 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1708, allocations: 19.88 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.1712, allocations: 209 kB / 0.7713 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1712, allocations: 4 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1712, allocations: 0 / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1713, allocations: 0 / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1715, allocations: 217.5 kB / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1715, allocations: 0 / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1716, allocations: 31.86 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1717, allocations: 4 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1717, allocations: 8 kB / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1717, allocations: 0 / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1717, allocations: 3.984 kB / 0.7715 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.172, allocations: 185.1 kB / 0.7717 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.172, allocations: 88.94 kB / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1721, allocations: 8 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.1722, allocations: 0 / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1722, allocations: 19.92 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1722, allocations: 4 kB / 0.7718 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.1723, allocations: 83.33 kB / 0.7719 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 0.7719 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003756/0.1727, allocations: 67.88 kB / 0.772 GB, free: 2.371 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 (16): * Single equations (assignments): 16 * 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.0008768/0.1736, allocations: 0.8213 MB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1738, allocations: 103.9 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1738, allocations: 0 / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1739, allocations: 79.91 kB / 0.773 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1741, allocations: 4 kB / 0.773 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.1748, allocations: 266.1 kB / 0.7732 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1751, allocations: 0.7002 MB / 0.7739 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.661e-05/0.1752, allocations: 23.97 kB / 0.7739 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.1753, allocations: 35.41 kB / 0.774 GB, free: 256 kB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1753, allocations: 0 / 0.774 GB, free: 256 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/0.5005, allocations: 3.648 MB / 0.7775 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.305, allocations: 13.66 kB / 0.7775 GB, free: 14.12 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)