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.001668/0.001668, 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.00185/0.00185, allocations: 194.6 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 282.7 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 96.94 kB / 0.5954 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1383, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003345/0.1416, allocations: 2.217 MB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1446, allocations: 2.39 MB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.1447, allocations: 4 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.146, allocations: 497.9 kB / 0.6853 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1461, allocations: 87.38 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1464, allocations: 107.8 kB / 0.6855 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009056/0.1473, allocations: 0.8432 MB / 0.6863 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1474, allocations: 44.28 kB / 0.6863 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.1477, allocations: 275.5 kB / 0.6866 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.1482, allocations: 335.2 kB / 0.6869 GB, free: 9.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.1483, allocations: 56 kB / 0.687 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1484, allocations: 52 kB / 0.687 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.1486, allocations: 223.4 kB / 0.6872 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.1489, allocations: 290.9 kB / 0.6875 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.1495, allocations: 0.7244 MB / 0.6882 GB, free: 8.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1495, allocations: 0 / 0.6882 GB, free: 8.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1495, allocations: 0 / 0.6882 GB, free: 8.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1495, allocations: 4 kB / 0.6882 GB, free: 8.457 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002338/0.1518, allocations: 0.9291 MB / 0.6891 GB, free: 7.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1519, allocations: 8.031 kB / 0.6891 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1519, allocations: 46.73 kB / 0.6892 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1521, allocations: 44.47 kB / 0.6892 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1536, allocations: 0.5185 MB / 0.6897 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1536, allocations: 24.38 kB / 0.6898 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.1537, allocations: 40.28 kB / 0.6898 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.154, allocations: 201.5 kB / 0.69 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.154, allocations: 0 / 0.69 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1541, allocations: 4 kB / 0.69 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1541, allocations: 4 kB / 0.69 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.1544, allocations: 183.8 kB / 0.6902 GB, free: 6.359 MB / 494.1 MB 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.004483/0.1588, allocations: 1.432 MB / 0.6916 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1607, allocations: 0.5895 MB / 0.6921 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.1609, allocations: 144.8 kB / 0.6923 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1609, allocations: 4.406 kB / 0.6923 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1609, allocations: 30.56 kB / 0.6923 GB, free: 4.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.1609, allocations: 0 / 0.6923 GB, free: 4.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.001024/0.162, allocations: 0.5587 MB / 0.6929 GB, free: 3.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.1621, allocations: 51.41 kB / 0.6929 GB, free: 3.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.1625, allocations: 405.3 kB / 0.6933 GB, free: 3.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.1626, allocations: 37.7 kB / 0.6933 GB, free: 2.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1627, allocations: 153.2 kB / 0.6935 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.1628, allocations: 102.5 kB / 0.6936 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.163, allocations: 150.3 kB / 0.6937 GB, free: 2.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1631, allocations: 354.8 kB / 0.6941 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.1637, allocations: 337.1 kB / 0.6944 GB, free: 1.895 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.1642, allocations: 405.5 kB / 0.6948 GB, free: 1.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/0.1651, allocations: 0.5646 MB / 0.6953 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.1652, allocations: 0 / 0.6953 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001451/0.1666, allocations: 0.9209 MB / 0.6962 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.1667, allocations: 33.7 kB / 0.6962 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1667, allocations: 0 / 0.6962 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.1669, allocations: 28.84 kB / 0.6963 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.1676, allocations: 159.7 kB / 0.6964 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.1688, allocations: 1.426 MB / 0.6978 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.1704, allocations: 111.1 kB / 0.6979 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.1705, allocations: 23.98 kB / 0.6979 GB, free: 14.05 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.0001831/0.1707, allocations: 187.1 kB / 0.6981 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1707, allocations: 31.61 kB / 0.6982 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.1708, allocations: 35.48 kB / 0.6982 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1708, allocations: 3.938 kB / 0.6982 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1708, allocations: 4 kB / 0.6982 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1708, allocations: 3.984 kB / 0.6982 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.1714, allocations: 457 kB / 0.6986 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1714, allocations: 0 / 0.6986 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1717, allocations: 47.97 kB / 0.6987 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.294e-05/0.1718, allocations: 32.78 kB / 0.6987 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1718, allocations: 11.98 kB / 0.6987 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009279/0.1728, allocations: 1.422 MB / 0.7001 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1728, allocations: 0 / 0.7001 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.1736, allocations: 0.5997 MB / 0.7007 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.1737, allocations: 116.6 kB / 0.7008 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.1737, allocations: 15.98 kB / 0.7008 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.1745, allocations: 19.97 kB / 0.7008 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.1746, allocations: 19.97 kB / 0.7009 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1746, allocations: 4 kB / 0.7009 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002312/0.1748, allocations: 263.2 kB / 0.7011 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.393e-06/0.1749, allocations: 96 / 0.7011 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005963/0.1755, allocations: 251.7 kB / 0.7014 GB, free: 10.31 MB / 0.4981 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.001014/0.1765, allocations: 1.142 MB / 0.7025 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.1777, allocations: 0.7788 MB / 0.7032 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1777, allocations: 0 / 0.7032 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.178, allocations: 270.8 kB / 0.7035 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.1786, allocations: 108.6 kB / 0.7036 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.1859, allocations: 5.503 MB / 0.709 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1863, allocations: 0.8077 MB / 0.7098 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.1868, allocations: 119.1 kB / 0.7099 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.187, allocations: 131.4 kB / 0.71 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.187, allocations: 0 / 0.71 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8328/1.02, allocations: 12.03 MB / 0.7218 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.04, allocations: 4.188 kB / 0.7218 GB, free: 5.527 MB / 0.5137 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)