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.004302/0.004302, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0009964/0.0009963, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002703/0.002703, allocations: 271 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9272/0.9272, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 95.84 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1647, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00322/0.1679, allocations: 2.207 MB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1708, allocations: 2.39 MB / 0.7704 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.1709, allocations: 11.94 kB / 0.7704 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1721, allocations: 489.9 kB / 0.7709 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1723, allocations: 103.3 kB / 0.771 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1726, allocations: 95.86 kB / 0.7711 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.1734, allocations: 0.8538 MB / 0.7719 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1735, allocations: 40.28 kB / 0.772 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1738, allocations: 275.5 kB / 0.7722 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.1742, allocations: 335.2 kB / 0.7725 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.1743, allocations: 56 kB / 0.7726 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.1744, allocations: 56 kB / 0.7727 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.1747, allocations: 227.5 kB / 0.7729 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.175, allocations: 282.9 kB / 0.7731 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1756, allocations: 0.7319 MB / 0.7739 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1756, allocations: 0 / 0.7739 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1756, allocations: 0 / 0.7739 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.1756, allocations: 4 kB / 0.7739 GB, free: 0.7695 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.3408/0.5165, allocations: 0.9314 MB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5166, allocations: 9.344 kB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.5166, allocations: 51.47 kB / 0.7748 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.5168, allocations: 47.38 kB / 0.7749 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.5185, allocations: 0.5248 MB / 0.7754 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.5186, allocations: 22.91 kB / 0.7754 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5187, allocations: 36.62 kB / 0.7754 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.5191, allocations: 206.9 kB / 0.7756 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5191, allocations: 3.062 kB / 0.7756 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.5191, allocations: 5.562 kB / 0.7756 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.5192, allocations: 3.375 kB / 0.7756 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.5195, allocations: 175.9 kB / 0.7758 GB, free: 14.83 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.004745/0.5242, allocations: 1.431 MB / 0.7772 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.526, allocations: 0.584 MB / 0.7778 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.5263, allocations: 141.5 kB / 0.7779 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.5263, allocations: 3.062 kB / 0.7779 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.5263, allocations: 40.02 kB / 0.778 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 2.175e-06/0.5263, allocations: 0.7812 kB / 0.778 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001041/0.5274, allocations: 0.5495 MB / 0.7785 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.5274, allocations: 53.94 kB / 0.7785 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.5278, allocations: 402.8 kB / 0.7789 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.5279, allocations: 41.39 kB / 0.779 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.528, allocations: 166.8 kB / 0.7791 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.5281, allocations: 103.1 kB / 0.7792 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.5284, allocations: 149.7 kB / 0.7794 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.5284, allocations: 348 kB / 0.7797 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.529, allocations: 336.8 kB / 0.78 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.5296, allocations: 407.9 kB / 0.7804 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000823/0.5304, allocations: 0.5638 MB / 0.781 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5304, allocations: 0 / 0.781 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001404/0.5318, allocations: 0.9209 MB / 0.7819 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.5319, allocations: 35.83 kB / 0.7819 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5319, allocations: 0 / 0.7819 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.5321, allocations: 29.56 kB / 0.7819 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.5329, allocations: 151 kB / 0.7821 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008264/0.5338, allocations: 1.429 MB / 0.7835 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.5353, allocations: 107.1 kB / 0.7836 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.5354, allocations: 24.88 kB / 0.7836 GB, free: 10.74 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.0001777/0.5356, allocations: 189.5 kB / 0.7838 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.5356, allocations: 36.33 kB / 0.7838 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.5357, allocations: 40.14 kB / 0.7838 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5357, allocations: 2.906 kB / 0.7838 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5357, allocations: 4.656 kB / 0.7839 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5357, allocations: 3.281 kB / 0.7839 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.5362, allocations: 460.2 kB / 0.7843 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5362, allocations: 8.547 kB / 0.7843 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.5365, allocations: 49.81 kB / 0.7844 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-05/0.5366, allocations: 26.66 kB / 0.7844 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.5366, allocations: 11.14 kB / 0.7844 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/0.5373, allocations: 1.423 MB / 0.7858 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5373, allocations: 0.75 kB / 0.7858 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.5381, allocations: 0.6078 MB / 0.7864 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.5382, allocations: 113.8 kB / 0.7865 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.5382, allocations: 12.06 kB / 0.7865 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.5389, allocations: 25.05 kB / 0.7865 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.539, allocations: 14.97 kB / 0.7865 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.539, allocations: 6.922 kB / 0.7865 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000232/0.5392, allocations: 264.6 kB / 0.7868 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5392, allocations: 0.9375 kB / 0.7868 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005989/0.5398, allocations: 243.9 kB / 0.787 GB, free: 8.211 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.0009769/0.5408, allocations: 1.155 MB / 0.7881 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.5419, allocations: 0.7324 MB / 0.7889 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5419, allocations: 2.562 kB / 0.7889 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.5422, allocations: 267 kB / 0.7891 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.5428, allocations: 98.7 kB / 0.7892 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.5492, allocations: 5.49 MB / 0.7946 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.5494, allocations: 0.8052 MB / 0.7954 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003089/0.5498, allocations: 111.1 kB / 0.7955 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.55, allocations: 126.7 kB / 0.7956 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.55, allocations: 0 / 0.7956 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.5879, allocations: 12.18 MB / 0.8075 GB, free: 460 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.688/10.28, allocations: 7.844 kB / 0.8075 GB, free: 456 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)