Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.TimeGeometric,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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.001061/0.001061, allocations: 108 kB / 15.6 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.001077/0.001077, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 302.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 92.34 kB / 0.5954 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1559, allocations: 86.99 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.002477/0.1584, allocations: 1.274 MB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.1588, allocations: 128.4 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.1589, allocations: 0.875 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.642e-05/0.159, allocations: 11.88 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.153e-05/0.1591, allocations: 0 / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1594, allocations: 32.48 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1595, allocations: 12.47 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.1595, allocations: 5.203 kB / 0.6818 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.1596, allocations: 4 kB / 0.6818 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.1596, allocations: 7.922 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1596, allocations: 4.844 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1597, allocations: 27.97 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1598, allocations: 4 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1598, allocations: 11.94 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1599, allocations: 40.11 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.16, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.16, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.16, allocations: 0 / 0.6818 GB, free: 15 MB / 494.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.0003576/0.1603, allocations: 333.3 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1604, allocations: 16.02 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1604, allocations: 106 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.1605, allocations: 80.22 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1607, allocations: 243.6 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.1607, allocations: 154.9 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.1608, allocations: 154.9 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.091e-05/0.1609, allocations: 101.5 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.1609, allocations: 79.22 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.161, allocations: 154.6 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.161, allocations: 158.5 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.1611, allocations: 150.6 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1613, allocations: 449.9 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.1614, allocations: 169.1 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.1615, allocations: 88.12 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1615, allocations: 75.28 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/0.1616, allocations: 109.8 kB / 0.6844 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1616, allocations: 0 / 0.6844 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.542e-05/0.1617, allocations: 37.48 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1617, allocations: 130.7 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1618, allocations: 109.8 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1619, allocations: 25.7 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1619, allocations: 96.06 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.1619, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1619, allocations: 13.72 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.162, allocations: 314.8 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.1621, allocations: 8 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.1621, allocations: 15.92 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.1622, allocations: 24.86 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1622, allocations: 0 / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.1623, allocations: 57.62 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1623, allocations: 7.938 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1623, allocations: 0 / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1623, allocations: 0 / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.043e-06/0.1623, allocations: 4 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1623, allocations: 3.984 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1624, allocations: 11.83 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1624, allocations: 4.062 kB / 0.6852 GB, free: 11.34 MB / 494.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: 1 * 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.614e-05/0.1625, allocations: 186.4 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.1625, allocations: 108.9 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1626, allocations: 112.5 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.1626, allocations: 184.2 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.944e-05/0.1627, allocations: 180.2 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/0.1628, allocations: 180.3 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.163, allocations: 405.2 kB / 0.6865 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.163, allocations: 109 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1631, allocations: 105.5 kB / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.92e-05/0.1631, allocations: 184.1 kB / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.1632, allocations: 188.2 kB / 0.687 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.84e-05/0.1633, allocations: 180.2 kB / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.1633, allocations: 180.5 kB / 0.6874 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1635, allocations: 307.8 kB / 0.6877 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.1635, allocations: 190 kB / 0.6879 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.1636, allocations: 188.1 kB / 0.688 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1637, allocations: 105 kB / 0.6881 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.1638, allocations: 180.3 kB / 0.6883 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1638, allocations: 104.9 kB / 0.6884 GB, free: 7.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.393e-05/0.1639, allocations: 95.56 kB / 0.6885 GB, free: 7.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1639, allocations: 3.938 kB / 0.6885 GB, free: 7.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1641, allocations: 12 kB / 0.6885 GB, free: 7.707 MB / 494.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.0004425/0.1646, allocations: 0.8243 MB / 0.6893 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.21e-05/0.1647, allocations: 15.94 kB / 0.6893 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1647, allocations: 0 / 0.6893 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.1647, allocations: 4.062 kB / 0.6893 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.165, allocations: 453.6 kB / 0.6898 GB, free: 6.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.166, allocations: 1.345 MB / 0.6911 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1663, allocations: 0.6807 MB / 0.6917 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.718e-06/0.1663, allocations: 0 / 0.6917 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1663, allocations: 15.53 kB / 0.6918 GB, free: 4.242 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1663, allocations: 0 / 0.6918 GB, free: 4.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.1835, allocations: 1.381 MB / 0.6931 GB, free: 3.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.399, allocations: 14.17 kB / 0.6931 GB, free: 3.043 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1)