Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.001057/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00116/0.00116, allocations: 194.4 kB / 16.14 MB, free: 6.715 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 282.8 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 90.61 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1305, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002078/0.1326, allocations: 1.359 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1345, allocations: 1.42 MB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1345, allocations: 0 / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.1346, allocations: 4 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.1347, allocations: 15.91 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.1353, allocations: 275.3 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.1354, allocations: 51.89 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.1354, allocations: 0 / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.1355, allocations: 19.98 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.1355, allocations: 23.91 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1356, allocations: 4 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.1363, allocations: 0.5381 MB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.1363, allocations: 23.95 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1363, allocations: 15.88 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.1368, allocations: 347.6 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1368, allocations: 4 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1368, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1368, allocations: 4 kB / 0.6836 GB, free: 12.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004241/0.1372, allocations: 407.4 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1373, allocations: 12.03 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.1373, allocations: 34.69 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.1376, allocations: 36.81 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1378, allocations: 172.4 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1378, allocations: 4.375 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1378, allocations: 8.312 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1379, allocations: 65.78 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1379, allocations: 3.984 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1379, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.138, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1381, allocations: 55.94 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1383, allocations: 185.4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1384, allocations: 58.55 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.1385, allocations: 28.97 kB / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.1389, allocations: 208.9 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.139, allocations: 42.5 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.139, allocations: 0 / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002351/0.1392, allocations: 97.59 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.1393, allocations: 51.41 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.1393, allocations: 109.8 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1394, allocations: 25.7 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1394, allocations: 88.14 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1394, allocations: 15.72 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1395, allocations: 29.7 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.1396, allocations: 314.8 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.1396, allocations: 16.23 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.1397, allocations: 23.98 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.1398, allocations: 48.83 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1398, allocations: 0 / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001389/0.1399, allocations: 81.55 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1399, allocations: 4 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1399, allocations: 0 / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.1399, allocations: 4 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1401, allocations: 12 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1401, allocations: 0 / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.1401, allocations: 11.94 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1401, allocations: 3.984 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.1402, allocations: 110.5 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1402, allocations: 11.84 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.1407, allocations: 295.1 kB / 0.6861 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1407, allocations: 8 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1407, allocations: 4 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1408, allocations: 0 / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1409, allocations: 173.5 kB / 0.6863 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1409, allocations: 4 kB / 0.6863 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.141, allocations: 23.86 kB / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.141, allocations: 4 kB / 0.6863 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.141, allocations: 3.938 kB / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.141, allocations: 0 / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.141, allocations: 0 / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1412, allocations: 113 kB / 0.6865 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1412, allocations: 88.94 kB / 0.6865 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1413, allocations: 0 / 0.6865 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1413, allocations: 8 kB / 0.6865 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.1413, allocations: 8 kB / 0.6866 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1414, allocations: 0 / 0.6866 GB, free: 9.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.1414, allocations: 91.27 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1414, allocations: 0 / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.1417, allocations: 116 kB / 0.6868 GB, free: 9.352 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007603/0.1425, allocations: 0.7818 MB / 0.6875 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1426, allocations: 43.97 kB / 0.6876 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1427, allocations: 0 / 0.6876 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.1427, allocations: 31.98 kB / 0.6876 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.1429, allocations: 20.2 kB / 0.6876 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1441, allocations: 1.392 MB / 0.689 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.1443, allocations: 0.6822 MB / 0.6896 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.1447, allocations: 271.7 kB / 0.6899 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1447, allocations: 23.42 kB / 0.6899 GB, free: 5.988 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1447, allocations: 0 / 0.6899 GB, free: 5.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.1582, allocations: 3.849 MB / 0.6937 GB, free: 2.363 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.1585, allocations: 304.7 kB / 0.694 GB, free: 1.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.879, allocations: 0 / 0.694 GB, free: 1.98 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)