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.005877/0.005877, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001552/0.001552, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 274.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 95.92 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1604, allocations: 86.97 MB / 0.766 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002529/0.163, allocations: 1.35 MB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1648, allocations: 1.084 MB / 0.7684 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.1649, allocations: 0 / 0.7684 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1649, allocations: 7.922 kB / 0.7684 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.165, allocations: 7.875 kB / 0.7684 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.1657, allocations: 231.5 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.1658, allocations: 27.86 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.1659, allocations: 7.938 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.1659, allocations: 7.938 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.166, allocations: 19.92 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.166, allocations: 0 / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.1667, allocations: 427.5 kB / 0.7691 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1667, allocations: 7.938 kB / 0.7691 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1667, allocations: 15.94 kB / 0.7691 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1671, allocations: 199.4 kB / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1671, allocations: 0 / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1671, allocations: 0 / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1671, allocations: 0 / 0.7693 GB, free: 5.492 MB / 0.5606 GB 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.000519/0.1677, allocations: 390.8 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1677, allocations: 12.03 kB / 0.7697 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.1677, allocations: 30.75 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1678, allocations: 0.9375 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1679, allocations: 176.3 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.168, allocations: 4.375 kB / 0.7699 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.168, allocations: 8.375 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1681, allocations: 37.81 kB / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1681, allocations: 0 / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1681, allocations: 3.938 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1681, allocations: 0 / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.1682, allocations: 12 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1684, allocations: 157.7 kB / 0.7701 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.1685, allocations: 46.61 kB / 0.7701 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.1685, allocations: 16.89 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.1696, allocations: 0.9934 MB / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1696, allocations: 34.5 kB / 0.7711 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 3.467e-06/0.1696, allocations: 4 kB / 0.7711 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001736/0.1698, allocations: 57.62 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1699, allocations: 51.41 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.1699, allocations: 109.8 kB / 0.7713 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.17, allocations: 25.7 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.17, allocations: 84.14 kB / 0.7714 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1701, allocations: 15.84 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1701, allocations: 13.72 kB / 0.7715 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1702, allocations: 322.8 kB / 0.7718 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.1703, allocations: 4 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.1703, allocations: 8 kB / 0.7718 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.1703, allocations: 32.72 kB / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1704, allocations: 0 / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.875e-05/0.1705, allocations: 57.88 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1705, allocations: 8 kB / 0.7719 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1705, allocations: 4.031 kB / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1705, allocations: 3.984 kB / 0.7719 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1706, allocations: 12 kB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1706, allocations: 0 / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1707, allocations: 3.938 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1707, allocations: 0 / 0.7719 GB, free: 2.332 MB / 0.5606 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 (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 8.29e-05/0.1708, allocations: 114.5 kB / 0.772 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1708, allocations: 11.92 kB / 0.772 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.1709, allocations: 64.34 kB / 0.7721 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1709, allocations: 4 kB / 0.7721 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1709, allocations: 0 / 0.7721 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.171, allocations: 0 / 0.7721 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1711, allocations: 161.6 kB / 0.7723 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1711, allocations: 3.984 kB / 0.7723 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.1712, allocations: 15.94 kB / 0.7723 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1712, allocations: 0 / 0.7723 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1712, allocations: 0 / 0.7723 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1712, allocations: 4 kB / 0.7723 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1712, allocations: 0 / 0.7723 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1714, allocations: 77.06 kB / 0.7723 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1714, allocations: 92.98 kB / 0.7724 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1714, allocations: 0 / 0.7724 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.1715, allocations: 0 / 0.7724 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1715, allocations: 4 kB / 0.7724 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1715, allocations: 0 / 0.7724 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.1716, allocations: 91.27 kB / 0.7725 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.194e-06/0.1716, allocations: 0 / 0.7725 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003177/0.1719, allocations: 39.81 kB / 0.7726 GB, free: 1.559 MB / 0.5606 GB 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.0005699/0.1725, allocations: 0.6668 MB / 0.7732 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1726, allocations: 23.98 kB / 0.7732 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1726, allocations: 4 kB / 0.7732 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.1726, allocations: 12 kB / 0.7733 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1729, allocations: 8 kB / 0.7733 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1734, allocations: 203.9 kB / 0.7735 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3036/0.477, allocations: 0.675 MB / 0.7741 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.048e-05/0.4771, allocations: 5.688 kB / 0.7741 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.4772, allocations: 13.95 kB / 0.7741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.4772, allocations: 0 / 0.7741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/1.963, allocations: 2.205 MB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/11.4, allocations: 13.28 kB / 0.7763 GB, free: 13.97 MB / 0.5606 GB (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)