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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.007128/0.007128, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.001683/0.001682, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 275 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9202/0.9202, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 91.86 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 86.98 MB / 0.766 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002361/0.1676, allocations: 1.296 MB / 0.7672 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1697, allocations: 1.345 MB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.1697, allocations: 0 / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.1698, allocations: 0 / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.1699, allocations: 23.92 kB / 0.7686 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.171, allocations: 361.5 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1711, allocations: 51.83 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1712, allocations: 0 / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.1712, allocations: 15.98 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.1713, allocations: 19.97 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1713, allocations: 8 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.1721, allocations: 0.5226 MB / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1722, allocations: 15.91 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.1722, allocations: 15.94 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.1728, allocations: 351.3 kB / 0.7699 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1728, allocations: 0 / 0.7699 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1728, allocations: 0 / 0.7699 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1728, allocations: 0 / 0.7699 GB, free: 4.859 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.0005431/0.1734, allocations: 407.4 kB / 0.7703 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1734, allocations: 8.031 kB / 0.7703 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.1735, allocations: 42.73 kB / 0.7703 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.1738, allocations: 28.91 kB / 0.7703 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.174, allocations: 176.2 kB / 0.7705 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.174, allocations: 384 / 0.7705 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.174, allocations: 4.375 kB / 0.7705 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1742, allocations: 65.72 kB / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1742, allocations: 0 / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1742, allocations: 0 / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1742, allocations: 8 kB / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.1744, allocations: 59.88 kB / 0.7706 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.1746, allocations: 169.7 kB / 0.7708 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1748, allocations: 58.61 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.1748, allocations: 24.97 kB / 0.7709 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/0.1754, allocations: 209 kB / 0.7711 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1754, allocations: 34.5 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.1754, allocations: 0 / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002654/0.1757, allocations: 105.6 kB / 0.7712 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1757, allocations: 59.41 kB / 0.7713 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.1758, allocations: 109.8 kB / 0.7714 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1759, allocations: 29.7 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.1759, allocations: 84.12 kB / 0.7715 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1759, allocations: 19.75 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.176, allocations: 21.72 kB / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1761, allocations: 314.8 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.1762, allocations: 19.98 kB / 0.7718 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.1762, allocations: 28.05 kB / 0.7719 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-05/0.1763, allocations: 40.84 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1763, allocations: 3.938 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001449/0.1765, allocations: 85.5 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1765, allocations: 8 kB / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1765, allocations: 320 / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1765, allocations: 0 / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1766, allocations: 19.98 kB / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1767, allocations: 0 / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.1767, allocations: 0 / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1767, allocations: 11.98 kB / 0.772 GB, free: 2.398 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 9.417e-05/0.1768, allocations: 118.5 kB / 0.7721 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1769, allocations: 7.844 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.1774, allocations: 289 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1774, allocations: 4 kB / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1774, allocations: 0 / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1774, allocations: 0 / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1776, allocations: 177.6 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1776, allocations: 0 / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.1777, allocations: 19.94 kB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1777, allocations: 0 / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1777, allocations: 4 kB / 0.7726 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1777, allocations: 3.938 kB / 0.7726 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1777, allocations: 0 / 0.7726 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1779, allocations: 116.9 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1779, allocations: 88.98 kB / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.178, allocations: 0 / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.178, allocations: 8 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.178, allocations: 11.97 kB / 0.7728 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1781, allocations: 4 kB / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.1781, allocations: 95.25 kB / 0.7729 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 0.7729 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003804/0.1785, allocations: 112 kB / 0.773 GB, free: 1.262 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.000799/0.1793, allocations: 0.7841 MB / 0.7738 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1795, allocations: 43.97 kB / 0.7738 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1795, allocations: 0 / 0.7738 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.1795, allocations: 35.91 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1797, allocations: 20.75 kB / 0.7739 GB, free: 368 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3043/0.4841, allocations: 1.364 MB / 0.7752 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.4842, allocations: 0.6855 MB / 0.7759 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.4847, allocations: 264.8 kB / 0.7762 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.4847, allocations: 22.67 kB / 0.7762 GB, free: 13 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.4847, allocations: 1.938 kB / 0.7762 GB, free: 13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.5044, allocations: 4.038 MB / 0.7801 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.898, allocations: 9.281 kB / 0.7801 GB, free: 12.63 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)