Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.005886/0.005886, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.00159/0.00159, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 282.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9805/0.9805, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 102.8 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1791, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003587/0.1828, allocations: 2.219 MB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.186, allocations: 2.398 MB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1862, allocations: 4 kB / 0.7704 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.1876, allocations: 497.9 kB / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1878, allocations: 91.42 kB / 0.771 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1881, allocations: 95.8 kB / 0.7711 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009374/0.1891, allocations: 0.8538 MB / 0.7719 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1892, allocations: 40.28 kB / 0.772 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.1895, allocations: 275.5 kB / 0.7722 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.19, allocations: 339.1 kB / 0.7725 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.1901, allocations: 56 kB / 0.7726 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1903, allocations: 56 kB / 0.7727 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.1905, allocations: 219.5 kB / 0.7729 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.1909, allocations: 286.9 kB / 0.7731 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007318/0.1916, allocations: 0.7358 MB / 0.7739 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1916, allocations: 4 kB / 0.7739 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1916, allocations: 0 / 0.7739 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.1916, allocations: 0 / 0.7739 GB, free: 0.7383 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.3211/0.5127, allocations: 0.933 MB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5128, allocations: 11 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.5128, allocations: 44 kB / 0.7748 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.513, allocations: 47.09 kB / 0.7749 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5146, allocations: 0.5164 MB / 0.7754 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.5146, allocations: 24.12 kB / 0.7754 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.5147, allocations: 40.75 kB / 0.7754 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.5151, allocations: 203.5 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5151, allocations: 3.875 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5151, allocations: 5.375 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.5151, allocations: 3.75 kB / 0.7756 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.5154, allocations: 173.6 kB / 0.7758 GB, free: 14.77 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/0.5198, allocations: 1.433 MB / 0.7772 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5215, allocations: 0.5895 MB / 0.7778 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5217, allocations: 141 kB / 0.7779 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5218, allocations: 6.781 kB / 0.7779 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.5218, allocations: 36.56 kB / 0.778 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.5218, allocations: 0.9844 kB / 0.778 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.000988/0.5228, allocations: 0.5472 MB / 0.7785 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.5228, allocations: 53.94 kB / 0.7785 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.5232, allocations: 400.7 kB / 0.7789 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.5232, allocations: 40.08 kB / 0.779 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5233, allocations: 166.9 kB / 0.7791 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.5234, allocations: 98.28 kB / 0.7792 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5236, allocations: 154.5 kB / 0.7794 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.5237, allocations: 351.6 kB / 0.7797 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.5242, allocations: 341.1 kB / 0.78 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.5248, allocations: 403.1 kB / 0.7804 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.5256, allocations: 0.562 MB / 0.781 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5256, allocations: 0.9375 kB / 0.781 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001365/0.527, allocations: 0.9268 MB / 0.7819 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.527, allocations: 36.86 kB / 0.7819 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.527, allocations: 0 / 0.7819 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.5272, allocations: 28.06 kB / 0.7819 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.528, allocations: 152.8 kB / 0.7821 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007817/0.5288, allocations: 1.425 MB / 0.7835 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5303, allocations: 108.1 kB / 0.7836 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.5304, allocations: 22.05 kB / 0.7836 GB, free: 10.69 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.5306, allocations: 184.3 kB / 0.7838 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.5306, allocations: 38.16 kB / 0.7838 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.5307, allocations: 44.42 kB / 0.7838 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5307, allocations: 1.906 kB / 0.7838 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5307, allocations: 4.906 kB / 0.7838 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5308, allocations: 5.297 kB / 0.7839 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.5312, allocations: 462.6 kB / 0.7843 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5312, allocations: 1.797 kB / 0.7843 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.5315, allocations: 46.89 kB / 0.7843 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.786e-05/0.5316, allocations: 26.53 kB / 0.7844 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.5316, allocations: 18.08 kB / 0.7844 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000682/0.5323, allocations: 1.417 MB / 0.7858 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5323, allocations: 0 / 0.7858 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.533, allocations: 0.6024 MB / 0.7864 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.5331, allocations: 119.2 kB / 0.7865 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.5332, allocations: 9.688 kB / 0.7865 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.5339, allocations: 30.45 kB / 0.7865 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.5339, allocations: 15.47 kB / 0.7865 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5339, allocations: 6.062 kB / 0.7865 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002179/0.5342, allocations: 259.9 kB / 0.7868 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5342, allocations: 192 / 0.7868 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005553/0.5347, allocations: 239.9 kB / 0.787 GB, free: 8.168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009125/0.5357, allocations: 1.162 MB / 0.7881 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.5367, allocations: 0.7352 MB / 0.7889 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5367, allocations: 0 / 0.7889 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.537, allocations: 269.4 kB / 0.7891 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.5376, allocations: 87.2 kB / 0.7892 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/0.5437, allocations: 5.499 MB / 0.7946 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.544, allocations: 0.8126 MB / 0.7954 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.5443, allocations: 112 kB / 0.7955 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.5445, allocations: 126 kB / 0.7956 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5445, allocations: 3.938 kB / 0.7956 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.5854, allocations: 12.17 MB / 0.8075 GB, free: 436 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.86, allocations: 9.141 kB / 0.8075 GB, free: 432 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)