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.0008278/0.0008278, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004684/0.004684, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.16/1.16, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001619/0.001619, allocations: 274.5 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8575/0.8575, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 14.22 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002013/0.1351, allocations: 1.91 MB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1375, allocations: 2.332 MB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1376, allocations: 0 / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.1386, allocations: 458.1 kB / 0.6898 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1387, allocations: 75.55 kB / 0.6899 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.139, allocations: 102.3 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.1398, allocations: 0.8654 MB / 0.6908 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.1399, allocations: 38.5 kB / 0.6909 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.1402, allocations: 251.4 kB / 0.6911 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.1406, allocations: 324.8 kB / 0.6914 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.1406, allocations: 28 kB / 0.6915 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.1407, allocations: 28 kB / 0.6915 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.1409, allocations: 207.4 kB / 0.6917 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1412, allocations: 276.6 kB / 0.6919 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.1417, allocations: 0.6891 MB / 0.6926 GB, free: 7.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1417, allocations: 0 / 0.6926 GB, free: 7.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1417, allocations: 0 / 0.6926 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1417, allocations: 0 / 0.6926 GB, free: 7.387 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.00197/0.1437, allocations: 0.8786 MB / 0.6935 GB, free: 6.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1438, allocations: 8.031 kB / 0.6935 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.1438, allocations: 42.75 kB / 0.6935 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.1439, allocations: 44.47 kB / 0.6936 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.1453, allocations: 0.5264 MB / 0.6941 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1454, allocations: 24.38 kB / 0.6941 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1455, allocations: 44.22 kB / 0.6941 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1458, allocations: 209.5 kB / 0.6943 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1458, allocations: 0 / 0.6943 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1458, allocations: 8 kB / 0.6944 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1458, allocations: 0 / 0.6944 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1461, allocations: 187.8 kB / 0.6945 GB, free: 5.32 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.0043/0.1504, allocations: 1.475 MB / 0.696 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.1521, allocations: 0.5887 MB / 0.6965 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1523, allocations: 144.8 kB / 0.6967 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1524, allocations: 4 kB / 0.6967 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1524, allocations: 34.97 kB / 0.6967 GB, free: 2.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.1524, allocations: 4 kB / 0.6967 GB, free: 2.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009466/0.1533, allocations: 0.561 MB / 0.6973 GB, free: 2.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1534, allocations: 51.41 kB / 0.6973 GB, free: 2.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.1537, allocations: 401.3 kB / 0.6977 GB, free: 1.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.1538, allocations: 41.7 kB / 0.6977 GB, free: 1.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1539, allocations: 161.2 kB / 0.6979 GB, free: 1.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.154, allocations: 98.55 kB / 0.698 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.1541, allocations: 81.67 kB / 0.6981 GB, free: 1.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1543, allocations: 350.8 kB / 0.6984 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1548, allocations: 337.1 kB / 0.6987 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.1553, allocations: 409.5 kB / 0.6991 GB, free: 464 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.1562, allocations: 0.5646 MB / 0.6997 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1562, allocations: 4 kB / 0.6997 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001392/0.1576, allocations: 0.9209 MB / 0.7006 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.1576, allocations: 37.7 kB / 0.7006 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1576, allocations: 0 / 0.7006 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.1578, allocations: 32.83 kB / 0.7006 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/0.1586, allocations: 147.8 kB / 0.7008 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009987/0.1596, allocations: 1.327 MB / 0.7021 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.1611, allocations: 107.3 kB / 0.7022 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.1612, allocations: 31.91 kB / 0.7022 GB, free: 13.12 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.0001971/0.1614, allocations: 183 kB / 0.7024 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.1614, allocations: 31.62 kB / 0.7024 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.1615, allocations: 39.47 kB / 0.7025 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1615, allocations: 4 kB / 0.7025 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1615, allocations: 3.938 kB / 0.7025 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1615, allocations: 0 / 0.7025 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.162, allocations: 472.9 kB / 0.7029 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.162, allocations: 0 / 0.7029 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.1623, allocations: 43.97 kB / 0.703 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.78e-05/0.1624, allocations: 32.78 kB / 0.703 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1624, allocations: 15.98 kB / 0.703 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008252/0.1632, allocations: 1.315 MB / 0.7043 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1632, allocations: 0 / 0.7043 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.164, allocations: 0.5919 MB / 0.7049 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.1641, allocations: 124.7 kB / 0.705 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1641, allocations: 16.08 kB / 0.705 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.1648, allocations: 23.91 kB / 0.705 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1649, allocations: 19.97 kB / 0.705 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1649, allocations: 4 kB / 0.705 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002335/0.1651, allocations: 259.2 kB / 0.7053 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 0.7053 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005573/0.1657, allocations: 247.8 kB / 0.7055 GB, free: 9.488 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.0009912/0.1667, allocations: 1.154 MB / 0.7067 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.1677, allocations: 0.7398 MB / 0.7074 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1677, allocations: 0 / 0.7074 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1681, allocations: 278.5 kB / 0.7076 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.1686, allocations: 91.14 kB / 0.7077 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/0.1754, allocations: 5.766 MB / 0.7134 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1758, allocations: 0.8035 MB / 0.7141 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.1761, allocations: 111.2 kB / 0.7142 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.1763, allocations: 131.4 kB / 0.7144 GB, free: 240 kB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1763, allocations: 3.938 kB / 0.7144 GB, free: 236 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.049/3.225, allocations: 11.3 MB / 0.7254 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/3.225, allocations: 282.9 kB / 0.7257 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/5.13, allocations: 0 / 0.7257 GB, free: 4.867 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)