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.001711/0.001711, allocations: 108 kB / 15.61 MB, free: 152 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.001995/0.001995, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002573/0.002573, allocations: 278.8 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 99.95 kB / 0.6066 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003592/0.1645, allocations: 2.212 MB / 0.6958 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1677, allocations: 2.399 MB / 0.6981 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.228e-05/0.1678, allocations: 4 kB / 0.6981 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.1691, allocations: 497.9 kB / 0.6986 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1693, allocations: 95.36 kB / 0.6987 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1696, allocations: 97.09 kB / 0.6988 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009026/0.1705, allocations: 0.846 MB / 0.6996 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1706, allocations: 44.28 kB / 0.6997 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.171, allocations: 271.5 kB / 0.6999 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.1715, allocations: 339.1 kB / 0.7002 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1716, allocations: 60 kB / 0.7003 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1717, allocations: 56 kB / 0.7003 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.172, allocations: 219.5 kB / 0.7006 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1723, allocations: 278.9 kB / 0.7008 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.173, allocations: 0.7283 MB / 0.7015 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.173, allocations: 4 kB / 0.7015 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.173, allocations: 0 / 0.7015 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.173, allocations: 0 / 0.7015 GB, free: 12.1 MB / 0.4981 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.002412/0.1754, allocations: 0.9291 MB / 0.7024 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1755, allocations: 8.031 kB / 0.7025 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.1755, allocations: 50.73 kB / 0.7025 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1756, allocations: 44.47 kB / 0.7025 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1772, allocations: 0.5107 MB / 0.703 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1773, allocations: 24.38 kB / 0.7031 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.1774, allocations: 44.36 kB / 0.7031 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1777, allocations: 213.9 kB / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1777, allocations: 0 / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1778, allocations: 4 kB / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1778, allocations: 4 kB / 0.7033 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1781, allocations: 180.3 kB / 0.7035 GB, free: 9.996 MB / 0.4981 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.004956/0.1831, allocations: 1.432 MB / 0.7049 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.185, allocations: 0.5886 MB / 0.7055 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1852, allocations: 140.8 kB / 0.7056 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1852, allocations: 4 kB / 0.7056 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1853, allocations: 30.56 kB / 0.7056 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.1853, allocations: 4 kB / 0.7056 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.001169/0.1865, allocations: 0.5437 MB / 0.7062 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1865, allocations: 55.41 kB / 0.7062 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1869, allocations: 397.3 kB / 0.7066 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.187, allocations: 41.7 kB / 0.7066 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1872, allocations: 169.1 kB / 0.7068 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1873, allocations: 94.64 kB / 0.7069 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.1876, allocations: 154.3 kB / 0.707 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1878, allocations: 346.8 kB / 0.7074 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.1884, allocations: 345 kB / 0.7077 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.1891, allocations: 397.5 kB / 0.7081 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.19, allocations: 0.5723 MB / 0.7086 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.19, allocations: 0 / 0.7086 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00167/0.1917, allocations: 0.9171 MB / 0.7095 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1918, allocations: 33.69 kB / 0.7096 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1918, allocations: 0 / 0.7096 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.192, allocations: 28.84 kB / 0.7096 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/0.1929, allocations: 159.8 kB / 0.7097 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.1941, allocations: 1.422 MB / 0.7111 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.1958, allocations: 111.2 kB / 0.7112 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.1959, allocations: 23.98 kB / 0.7113 GB, free: 1.691 MB / 0.4981 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.0002194/0.1961, allocations: 181.7 kB / 0.7114 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.1962, allocations: 31.53 kB / 0.7115 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.1963, allocations: 43.47 kB / 0.7115 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1963, allocations: 7.938 kB / 0.7115 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1963, allocations: 8 kB / 0.7115 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1963, allocations: 0 / 0.7115 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.1968, allocations: 453.1 kB / 0.712 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1968, allocations: 0 / 0.712 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.1971, allocations: 51.91 kB / 0.712 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.1972, allocations: 28.78 kB / 0.712 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1973, allocations: 8 kB / 0.712 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.1985, allocations: 1.43 MB / 0.7134 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1985, allocations: 0 / 0.7134 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.1994, allocations: 0.5993 MB / 0.714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1995, allocations: 120.6 kB / 0.7141 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.1996, allocations: 8 kB / 0.7141 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.2003, allocations: 27.92 kB / 0.7142 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2004, allocations: 15.98 kB / 0.7142 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2004, allocations: 4 kB / 0.7142 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002749/0.2007, allocations: 263.1 kB / 0.7144 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2007, allocations: 0 / 0.7144 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006577/0.2013, allocations: 243.9 kB / 0.7147 GB, free: 13.96 MB / 0.5137 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.00124/0.2026, allocations: 1.158 MB / 0.7158 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.2039, allocations: 0.7834 MB / 0.7166 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2039, allocations: 384 / 0.7166 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.2043, allocations: 262.2 kB / 0.7168 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.2049, allocations: 93.94 kB / 0.7169 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.2125, allocations: 5.52 MB / 0.7223 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.213, allocations: 0.8038 MB / 0.7231 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.2133, allocations: 111.2 kB / 0.7232 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.2136, allocations: 131.4 kB / 0.7233 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.2136, allocations: 3.938 kB / 0.7233 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.255, allocations: 12.03 MB / 0.7351 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.71, allocations: 15.36 kB / 0.7351 GB, free: 9.152 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)