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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 190 kB / 16.14 MB, free: 6.707 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001952/0.001952, allocations: 290.2 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.864/0.864, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 96.02 kB / 0.5946 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1227, allocations: 86.98 MB / 0.6796 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002917/0.1257, allocations: 2.247 MB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1281, allocations: 2.37 MB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.1282, allocations: 11.94 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1293, allocations: 442.2 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1294, allocations: 75.5 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1296, allocations: 95.88 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007003/0.1303, allocations: 0.8654 MB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.1304, allocations: 44.25 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.1307, allocations: 247.5 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.131, allocations: 335.1 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.1311, allocations: 32 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.1312, allocations: 28 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.1314, allocations: 203.4 kB / 0.6864 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.1317, allocations: 246.9 kB / 0.6866 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.1322, allocations: 0.7049 MB / 0.6873 GB, free: 9.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1322, allocations: 3.938 kB / 0.6873 GB, free: 9.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1322, allocations: 4 kB / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1322, allocations: 0 / 0.6873 GB, free: 9.055 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.002076/0.1343, allocations: 0.933 MB / 0.6882 GB, free: 8.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1343, allocations: 12.03 kB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.1344, allocations: 46.73 kB / 0.6883 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1345, allocations: 44.47 kB / 0.6883 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1359, allocations: 0.503 MB / 0.6888 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.1359, allocations: 32.38 kB / 0.6888 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.136, allocations: 40.28 kB / 0.6889 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1363, allocations: 205.5 kB / 0.6891 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1363, allocations: 0 / 0.6891 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1364, allocations: 8 kB / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1364, allocations: 7.938 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.1366, allocations: 171.9 kB / 0.6892 GB, free: 6.957 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.004187/0.1408, allocations: 1.428 MB / 0.6906 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1424, allocations: 0.5919 MB / 0.6912 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1427, allocations: 140.8 kB / 0.6914 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1427, allocations: 0 / 0.6914 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1427, allocations: 42.97 kB / 0.6914 GB, free: 4.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.002e-06/0.1427, allocations: 0 / 0.6914 GB, free: 4.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009313/0.1436, allocations: 0.5476 MB / 0.6919 GB, free: 4.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1437, allocations: 59.39 kB / 0.692 GB, free: 4.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.144, allocations: 401.3 kB / 0.6924 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.1441, allocations: 41.7 kB / 0.6924 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1442, allocations: 161.2 kB / 0.6926 GB, free: 3.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.1443, allocations: 94.56 kB / 0.6927 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1445, allocations: 150.3 kB / 0.6928 GB, free: 3.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1446, allocations: 354.8 kB / 0.6931 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.1451, allocations: 337.1 kB / 0.6935 GB, free: 2.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.1457, allocations: 401.5 kB / 0.6938 GB, free: 2.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.1465, allocations: 0.5646 MB / 0.6944 GB, free: 1.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1465, allocations: 0 / 0.6944 GB, free: 1.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001359/0.1479, allocations: 0.9131 MB / 0.6953 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.1479, allocations: 41.69 kB / 0.6953 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1479, allocations: 3.938 kB / 0.6953 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.1481, allocations: 32.84 kB / 0.6954 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.1489, allocations: 147.8 kB / 0.6955 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/0.1498, allocations: 1.315 MB / 0.6968 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.1513, allocations: 119.2 kB / 0.6969 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.1514, allocations: 23.92 kB / 0.6969 GB, free: 14.77 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.0001852/0.1516, allocations: 186.4 kB / 0.6971 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1516, allocations: 35.55 kB / 0.6971 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.1517, allocations: 39.48 kB / 0.6972 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1517, allocations: 0 / 0.6972 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1517, allocations: 0 / 0.6972 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1517, allocations: 7.984 kB / 0.6972 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1521, allocations: 472.9 kB / 0.6976 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1522, allocations: 0 / 0.6976 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.1524, allocations: 39.97 kB / 0.6977 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.335e-05/0.1525, allocations: 36.78 kB / 0.6977 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1525, allocations: 11.98 kB / 0.6977 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008182/0.1534, allocations: 1.319 MB / 0.699 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1534, allocations: 32 / 0.699 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.1541, allocations: 0.5959 MB / 0.6996 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.1542, allocations: 124.5 kB / 0.6997 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.1542, allocations: 8 kB / 0.6997 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/0.1549, allocations: 23.95 kB / 0.6997 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.155, allocations: 11.98 kB / 0.6997 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.155, allocations: 8.094 kB / 0.6998 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002145/0.1552, allocations: 271.1 kB / 0.7 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1552, allocations: 0 / 0.7 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005733/0.1558, allocations: 243.8 kB / 0.7002 GB, free: 11.13 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.0009955/0.1568, allocations: 1.143 MB / 0.7014 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009826/0.1578, allocations: 0.7392 MB / 0.7021 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1578, allocations: 0 / 0.7021 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1581, allocations: 266.5 kB / 0.7023 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.1587, allocations: 85.81 kB / 0.7024 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.1652, allocations: 5.598 MB / 0.7079 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1656, allocations: 0.8114 MB / 0.7087 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.1658, allocations: 107.2 kB / 0.7088 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.1661, allocations: 131.4 kB / 0.7089 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1661, allocations: 0 / 0.7089 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.198/2.364, allocations: 11.49 MB / 0.7201 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/2.364, allocations: 277.5 kB / 0.7204 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/4.756, allocations: 0 / 0.7204 GB, free: 6.496 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)