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.001724/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 98.23 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 86.98 MB / 0.6804 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002422/0.1368, allocations: 1.345 MB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1384, allocations: 1.078 MB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.1384, allocations: 4.562 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.1385, allocations: 4 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.1385, allocations: 6 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.1391, allocations: 223.2 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.1392, allocations: 31.86 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1392, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.1393, allocations: 23.86 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.1394, allocations: 11.92 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1394, allocations: 4 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.1399, allocations: 427.5 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.14, allocations: 4 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.14, allocations: 11.88 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1403, allocations: 203.7 kB / 0.6836 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1403, allocations: 0 / 0.6836 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1403, allocations: 0 / 0.6836 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1403, allocations: 0 / 0.6836 GB, free: 13.15 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.0003791/0.1407, allocations: 383.3 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1408, allocations: 8.031 kB / 0.684 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.1408, allocations: 30.75 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1408, allocations: 8.844 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.1409, allocations: 164.3 kB / 0.6842 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1409, allocations: 8.375 kB / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.141, allocations: 8.359 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.1411, allocations: 37.83 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1411, allocations: 0 / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1411, allocations: 0 / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1411, allocations: 0 / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.1411, allocations: 15.98 kB / 0.6843 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1413, allocations: 157.7 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.1414, allocations: 50.58 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.1414, allocations: 8.859 kB / 0.6845 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008507/0.1423, allocations: 0.9973 MB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1423, allocations: 34.5 kB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.955e-06/0.1423, allocations: 0 / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.1425, allocations: 65.53 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1425, allocations: 55.34 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.1426, allocations: 106.1 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1426, allocations: 25.7 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.1426, allocations: 84.14 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1426, allocations: 19.75 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1427, allocations: 13.72 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.1428, allocations: 318.8 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1428, allocations: 7.938 kB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.1428, allocations: 8 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.1429, allocations: 20.86 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1429, allocations: 0 / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.431e-05/0.143, allocations: 57.56 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.143, allocations: 8 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.143, allocations: 0 / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.143, allocations: 0 / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1431, allocations: 15.98 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1431, allocations: 4.062 kB / 0.6863 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.1432, allocations: 4 kB / 0.6863 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.1432, allocations: 0 / 0.6863 GB, free: 10.01 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 6.065e-05/0.1432, allocations: 110.5 kB / 0.6864 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.1433, allocations: 11.84 kB / 0.6864 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1434, allocations: 65.58 kB / 0.6864 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1434, allocations: 7.938 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1434, allocations: 0 / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1434, allocations: 0 / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.874e-05/0.1435, allocations: 161.7 kB / 0.6866 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1435, allocations: 0 / 0.6866 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.1436, allocations: 19.92 kB / 0.6866 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1436, allocations: 0 / 0.6866 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1436, allocations: 0 / 0.6866 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1436, allocations: 4 kB / 0.6866 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1436, allocations: 4 kB / 0.6866 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.1437, allocations: 73.12 kB / 0.6867 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1438, allocations: 84.95 kB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1438, allocations: 0 / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.592e-05/0.1438, allocations: 8.344 kB / 0.6868 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1438, allocations: 4 kB / 0.6868 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1439, allocations: 0 / 0.6868 GB, free: 9.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.1439, allocations: 95.22 kB / 0.6869 GB, free: 9.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1439, allocations: 0 / 0.6869 GB, free: 9.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1441, allocations: 43.92 kB / 0.6869 GB, free: 9.223 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.00042/0.1446, allocations: 0.6593 MB / 0.6876 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.1447, allocations: 23.92 kB / 0.6876 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1447, allocations: 4 kB / 0.6876 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.1447, allocations: 12 kB / 0.6876 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.1449, allocations: 4 kB / 0.6876 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.1453, allocations: 217.8 kB / 0.6878 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1455, allocations: 0.6807 MB / 0.6885 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1456, allocations: 10.02 kB / 0.6885 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1456, allocations: 15.44 kB / 0.6885 GB, free: 7.508 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1456, allocations: 0 / 0.6885 GB, free: 7.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1623, allocations: 2.181 MB / 0.6906 GB, free: 5.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.603/9.766, allocations: 11.56 kB / 0.6906 GB, free: 5.531 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)