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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001244/0.001244, allocations: 197.3 kB / 16.26 MB, free: 6.621 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 290.6 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8668/0.8668, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 91.62 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 86.97 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002995/0.132, allocations: 2.267 MB / 0.682 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1345, allocations: 2.368 MB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.1347, allocations: 4 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1358, allocations: 438.3 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.136, allocations: 79.5 kB / 0.6848 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1362, allocations: 87.89 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.1369, allocations: 0.8499 MB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.137, allocations: 44.27 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.1373, allocations: 279.4 kB / 0.686 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.1377, allocations: 351.1 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.1378, allocations: 56 kB / 0.6864 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.1379, allocations: 63.94 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.1381, allocations: 223.4 kB / 0.6867 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1384, allocations: 282.9 kB / 0.6869 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.1389, allocations: 0.7205 MB / 0.6876 GB, free: 8.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1389, allocations: 0 / 0.6876 GB, free: 8.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1389, allocations: 0 / 0.6876 GB, free: 8.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1389, allocations: 0 / 0.6876 GB, free: 8.879 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.002122/0.1411, allocations: 0.9291 MB / 0.6885 GB, free: 7.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1411, allocations: 8.031 kB / 0.6885 GB, free: 7.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1411, allocations: 54.61 kB / 0.6886 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1413, allocations: 48.47 kB / 0.6886 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.1427, allocations: 0.503 MB / 0.6891 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1427, allocations: 24.38 kB / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.1428, allocations: 48.27 kB / 0.6892 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1431, allocations: 205.4 kB / 0.6894 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1431, allocations: 4 kB / 0.6894 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1431, allocations: 4 kB / 0.6894 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1432, allocations: 4 kB / 0.6894 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.1434, allocations: 171.9 kB / 0.6896 GB, free: 6.781 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.004235/0.1477, allocations: 1.436 MB / 0.691 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1493, allocations: 0.5927 MB / 0.6916 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1495, allocations: 136.8 kB / 0.6917 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1496, allocations: 4.406 kB / 0.6917 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1496, allocations: 38.56 kB / 0.6917 GB, free: 4.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1496, allocations: 0 / 0.6917 GB, free: 4.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009249/0.1505, allocations: 0.5587 MB / 0.6923 GB, free: 3.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1506, allocations: 55.41 kB / 0.6923 GB, free: 3.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1509, allocations: 397.3 kB / 0.6927 GB, free: 3.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.151, allocations: 41.7 kB / 0.6927 GB, free: 3.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1511, allocations: 153.2 kB / 0.6929 GB, free: 3.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.1512, allocations: 106.5 kB / 0.693 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.1514, allocations: 154.3 kB / 0.6931 GB, free: 2.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1515, allocations: 346.8 kB / 0.6935 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.152, allocations: 337.1 kB / 0.6938 GB, free: 2.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.1526, allocations: 409.5 kB / 0.6942 GB, free: 1.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007514/0.1533, allocations: 0.5646 MB / 0.6947 GB, free: 1.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1533, allocations: 4 kB / 0.6947 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001376/0.1547, allocations: 0.9131 MB / 0.6956 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.1548, allocations: 35.89 kB / 0.6957 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1548, allocations: 0 / 0.6957 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.1549, allocations: 32.78 kB / 0.6957 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.1558, allocations: 151.8 kB / 0.6958 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.1568, allocations: 1.43 MB / 0.6972 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.1584, allocations: 111.2 kB / 0.6973 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.1585, allocations: 31.91 kB / 0.6974 GB, free: 14.46 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.0001784/0.1587, allocations: 179 kB / 0.6975 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.1588, allocations: 31.62 kB / 0.6976 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.1588, allocations: 39.47 kB / 0.6976 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1588, allocations: 7.938 kB / 0.6976 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1589, allocations: 0 / 0.6976 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1589, allocations: 0 / 0.6976 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.1593, allocations: 465 kB / 0.6981 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1593, allocations: 0 / 0.6981 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.1595, allocations: 47.91 kB / 0.6981 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.1596, allocations: 24.84 kB / 0.6981 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1597, allocations: 11.98 kB / 0.6981 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008248/0.1605, allocations: 1.43 MB / 0.6995 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1605, allocations: 8.188 kB / 0.6995 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.1612, allocations: 0.5918 MB / 0.7001 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.1613, allocations: 120.6 kB / 0.7002 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.1614, allocations: 8 kB / 0.7002 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/0.1621, allocations: 31.86 kB / 0.7003 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1622, allocations: 11.98 kB / 0.7003 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1622, allocations: 11.98 kB / 0.7003 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002085/0.1624, allocations: 255.2 kB / 0.7005 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1624, allocations: 4 kB / 0.7005 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005674/0.163, allocations: 243.9 kB / 0.7008 GB, free: 10.73 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.0009764/0.164, allocations: 1.138 MB / 0.7019 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.165, allocations: 0.7904 MB / 0.7027 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.165, allocations: 0 / 0.7027 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.1653, allocations: 258.5 kB / 0.7029 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1659, allocations: 99.86 kB / 0.703 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.1723, allocations: 5.588 MB / 0.7085 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1726, allocations: 0.8115 MB / 0.7093 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.1729, allocations: 119.1 kB / 0.7094 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.1731, allocations: 131.4 kB / 0.7095 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1731, allocations: 0 / 0.7095 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.418/0.5911, allocations: 11.93 MB / 0.7211 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.5914, allocations: 281.3 kB / 0.7214 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.607, allocations: 2.812 kB / 0.7214 GB, free: 5.621 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)