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.001286/0.001286, 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.001378/0.001378, allocations: 195.4 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.261/1.261, 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.00198/0.00198, allocations: 280.2 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9102/0.9102, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 92.27 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 86.98 MB / 0.6796 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002174/0.1379, allocations: 1.416 MB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1394, allocations: 1.119 MB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.1394, allocations: 4 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1394, allocations: 3.984 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.1395, allocations: 8.703 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1399, allocations: 146 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.14, allocations: 39.78 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.14, allocations: 9.156 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.1401, allocations: 11.98 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1401, allocations: 11.94 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1402, allocations: 8 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.1407, allocations: 427.4 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1407, allocations: 3.938 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.1407, allocations: 15.94 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.141, allocations: 191.7 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.141, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.141, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.141, allocations: 0 / 0.6829 GB, free: 13.62 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.0003672/0.1414, allocations: 383.4 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1414, allocations: 16.03 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.1414, allocations: 34.75 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.1415, allocations: 4.844 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.1416, allocations: 168.4 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1416, allocations: 384 / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1416, allocations: 4.375 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.1417, allocations: 45.75 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1417, allocations: 3.938 kB / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1417, allocations: 3.938 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1417, allocations: 0 / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.1418, allocations: 15.98 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1419, allocations: 161.7 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.142, allocations: 38.61 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.142, allocations: 16.89 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008234/0.1429, allocations: 0.9894 MB / 0.6847 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1429, allocations: 38.5 kB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1429, allocations: 0 / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001416/0.1431, allocations: 57.59 kB / 0.6848 GB, free: 11.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1431, allocations: 55.41 kB / 0.6849 GB, free: 11.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.1432, allocations: 109.8 kB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1432, allocations: 25.7 kB / 0.685 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.1432, allocations: 84.14 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1432, allocations: 15.73 kB / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1433, allocations: 21.7 kB / 0.6851 GB, free: 10.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.1434, allocations: 314.8 kB / 0.6854 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.1434, allocations: 11.94 kB / 0.6854 GB, free: 10.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.1434, allocations: 8 kB / 0.6855 GB, free: 10.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.1435, allocations: 20.84 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1435, allocations: 0 / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/0.1435, allocations: 49.64 kB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1436, allocations: 13.39 kB / 0.6855 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1436, allocations: 0 / 0.6855 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.1436, allocations: 0 / 0.6855 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1437, allocations: 12 kB / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1437, allocations: 0 / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.1437, allocations: 3.938 kB / 0.6855 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1438, allocations: 12 kB / 0.6856 GB, free: 10.46 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.728e-05/0.1438, allocations: 114.5 kB / 0.6857 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1438, allocations: 7.844 kB / 0.6857 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.144, allocations: 59.84 kB / 0.6857 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.144, allocations: 4 kB / 0.6857 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.144, allocations: 0 / 0.6857 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.144, allocations: 0 / 0.6857 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.1441, allocations: 165.6 kB / 0.6859 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1441, allocations: 0 / 0.6859 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.1442, allocations: 19.94 kB / 0.6859 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1442, allocations: 384 / 0.6859 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1442, allocations: 0 / 0.6859 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1442, allocations: 4.25 kB / 0.6859 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1442, allocations: 3.938 kB / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/0.1443, allocations: 77.11 kB / 0.686 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.1443, allocations: 92.94 kB / 0.6861 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1443, allocations: 0 / 0.6861 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.1444, allocations: 8 kB / 0.6861 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.1444, allocations: 0 / 0.6861 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1444, allocations: 4 kB / 0.6861 GB, free: 9.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.1444, allocations: 87.25 kB / 0.6862 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 0.6862 GB, free: 9.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1447, allocations: 43.94 kB / 0.6862 GB, free: 9.68 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.0004065/0.1451, allocations: 0.6631 MB / 0.6869 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.1452, allocations: 23.98 kB / 0.6869 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1452, allocations: 0 / 0.6869 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.1452, allocations: 11.94 kB / 0.6869 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1454, allocations: 11.98 kB / 0.6869 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.1458, allocations: 203.6 kB / 0.6871 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.146, allocations: 0.677 MB / 0.6878 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.1461, allocations: 4 kB / 0.6878 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1461, allocations: 18.81 kB / 0.6878 GB, free: 7.984 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1461, allocations: 0 / 0.6878 GB, free: 7.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2673/0.4134, allocations: 2.066 MB / 0.6898 GB, free: 6.152 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003662/0.4138, allocations: 306 kB / 0.6901 GB, free: 5.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.146, allocations: 0 / 0.6901 GB, free: 5.777 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)