Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.0008815/0.0008816, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005079/0.005079, allocations: 171.8 kB / 16.27 MB, free: 6.324 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 266.4 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 16.77 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 88.54 MB / 0.6853 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001205/0.1323, allocations: 1.074 MB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1337, allocations: 1.103 MB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.1338, allocations: 0 / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1338, allocations: 3.984 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.1338, allocations: 9.516 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1343, allocations: 158.6 kB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.1343, allocations: 31.86 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.1344, allocations: 3.938 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.1344, allocations: 15.92 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.1345, allocations: 15.92 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1345, allocations: 4 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.135, allocations: 423.4 kB / 0.6881 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1351, allocations: 8 kB / 0.6881 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.1351, allocations: 42.91 kB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1354, allocations: 183.7 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1354, allocations: 4 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1354, allocations: 0 / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1354, allocations: 0.6562 kB / 0.6883 GB, free: 11.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003469/0.1358, allocations: 385 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1358, allocations: 8.031 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.1358, allocations: 38.75 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.1359, allocations: 5.812 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.348e-05/0.136, allocations: 168.3 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.136, allocations: 1.094 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.136, allocations: 4.375 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.1361, allocations: 46.38 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1361, allocations: 1.594 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1361, allocations: 4 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.1361, allocations: 0 / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.1362, allocations: 8 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.1363, allocations: 165.7 kB / 0.6891 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.1364, allocations: 38.56 kB / 0.6891 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.1364, allocations: 20.92 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008229/0.1373, allocations: 0.9894 MB / 0.6901 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1373, allocations: 38.5 kB / 0.6901 GB, free: 9.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1373, allocations: 0 / 0.6901 GB, free: 9.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.00014/0.1374, allocations: 53.62 kB / 0.6902 GB, free: 9.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1375, allocations: 55.41 kB / 0.6902 GB, free: 9.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.1375, allocations: 113.8 kB / 0.6903 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1376, allocations: 25.7 kB / 0.6904 GB, free: 9.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1376, allocations: 88.12 kB / 0.6905 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1376, allocations: 15.75 kB / 0.6905 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1377, allocations: 13.72 kB / 0.6905 GB, free: 9.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.1377, allocations: 314.8 kB / 0.6908 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.1378, allocations: 7.938 kB / 0.6908 GB, free: 8.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.1378, allocations: 8 kB / 0.6908 GB, free: 8.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.1378, allocations: 28.84 kB / 0.6908 GB, free: 8.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1379, allocations: 0 / 0.6908 GB, free: 8.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.049e-05/0.1379, allocations: 53.55 kB / 0.6909 GB, free: 8.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.138, allocations: 4 kB / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.138, allocations: 0 / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.138, allocations: 0 / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.1381, allocations: 15.98 kB / 0.6909 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1381, allocations: 0 / 0.6909 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.1381, allocations: 7.938 kB / 0.6909 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1381, allocations: 0 / 0.6909 GB, free: 8.719 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 (4): * Single equations (assignments): 4 * 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 5.884e-05/0.1382, allocations: 114.5 kB / 0.691 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1382, allocations: 7.938 kB / 0.691 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1383, allocations: 63.83 kB / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1383, allocations: 0 / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1383, allocations: 0 / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1384, allocations: 0 / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/0.1385, allocations: 157.7 kB / 0.6912 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1385, allocations: 0 / 0.6912 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.1385, allocations: 19.92 kB / 0.6913 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1385, allocations: 4 kB / 0.6913 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1386, allocations: 0 / 0.6913 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1386, allocations: 7.938 kB / 0.6913 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1386, allocations: 0 / 0.6913 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.1387, allocations: 81.39 kB / 0.6913 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.1387, allocations: 81.05 kB / 0.6914 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1387, allocations: 3.984 kB / 0.6914 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.1388, allocations: 8 kB / 0.6914 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.1388, allocations: 4 kB / 0.6914 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1388, allocations: 3.938 kB / 0.6914 GB, free: 8.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.1388, allocations: 87.28 kB / 0.6915 GB, free: 7.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1388, allocations: 0 / 0.6915 GB, free: 7.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1391, allocations: 39.92 kB / 0.6916 GB, free: 7.945 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 (4): * Single equations (assignments): 4 * 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.0004313/0.1395, allocations: 0.6786 MB / 0.6922 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.1396, allocations: 15.98 kB / 0.6922 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1396, allocations: 0 / 0.6922 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.1396, allocations: 15.94 kB / 0.6923 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.1398, allocations: 4 kB / 0.6923 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.1402, allocations: 224.1 kB / 0.6925 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.1404, allocations: 0.6809 MB / 0.6931 GB, free: 6.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.1404, allocations: 0 / 0.6931 GB, free: 6.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1405, allocations: 15.44 kB / 0.6932 GB, free: 6.223 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1405, allocations: 0 / 0.6932 GB, free: 6.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.2437, allocations: 2.002 MB / 0.6951 GB, free: 4.48 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.2439, allocations: 306.1 kB / 0.6954 GB, free: 4.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.855, allocations: 0 / 0.6954 GB, free: 4.105 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)