Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_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.001553/0.001554, 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.002207/0.002207, allocations: 192.4 kB / 16.13 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7483/0.7483, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.84 kB / 0.5012 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.152, allocations: 80.2 MB / 0.5796 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002302/0.1543, allocations: 1.409 MB / 0.5809 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1559, allocations: 1.119 MB / 0.582 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.1559, allocations: 0 / 0.582 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.156, allocations: 3.984 kB / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.156, allocations: 7.922 kB / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1565, allocations: 150.2 kB / 0.5822 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.1566, allocations: 31.84 kB / 0.5822 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1566, allocations: 4 kB / 0.5822 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.1567, allocations: 15.92 kB / 0.5822 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.1568, allocations: 11.94 kB / 0.5823 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1568, allocations: 3.938 kB / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.1573, allocations: 419.5 kB / 0.5827 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1574, allocations: 4 kB / 0.5827 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1574, allocations: 19.92 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1577, allocations: 191.9 kB / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1577, allocations: 0 / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1577, allocations: 0 / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1577, allocations: 0 / 0.5829 GB, free: 5.691 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.0004639/0.1582, allocations: 388.5 kB / 0.5832 GB, free: 5.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1582, allocations: 8.031 kB / 0.5832 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.1583, allocations: 30.75 kB / 0.5833 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1583, allocations: 4.938 kB / 0.5833 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1584, allocations: 184.2 kB / 0.5834 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1584, allocations: 4.375 kB / 0.5835 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1585, allocations: 3.938 kB / 0.5835 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1586, allocations: 45.69 kB / 0.5835 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1586, allocations: 0 / 0.5835 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1586, allocations: 0 / 0.5835 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1586, allocations: 0 / 0.5835 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.1586, allocations: 11.98 kB / 0.5835 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.1588, allocations: 157.7 kB / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1589, allocations: 54.48 kB / 0.5837 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.159, allocations: 8.891 kB / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.1599, allocations: 0.9856 MB / 0.5847 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.16, allocations: 38.55 kB / 0.5847 GB, free: 3.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.16, allocations: 0 / 0.5847 GB, free: 3.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.1601, allocations: 65.56 kB / 0.5848 GB, free: 3.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1602, allocations: 51.41 kB / 0.5848 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.1603, allocations: 101.9 kB / 0.5849 GB, free: 3.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1603, allocations: 29.69 kB / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.1603, allocations: 88.14 kB / 0.585 GB, free: 3.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1604, allocations: 15.8 kB / 0.5851 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.1604, allocations: 17.72 kB / 0.5851 GB, free: 2.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1605, allocations: 314.8 kB / 0.5854 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.1605, allocations: 4 kB / 0.5854 GB, free: 2.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.1606, allocations: 8 kB / 0.5854 GB, free: 2.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.1606, allocations: 20.86 kB / 0.5854 GB, free: 2.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1606, allocations: 0 / 0.5854 GB, free: 2.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.1607, allocations: 61.56 kB / 0.5855 GB, free: 2.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1607, allocations: 5.562 kB / 0.5855 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1607, allocations: 0 / 0.5855 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1607, allocations: 0 / 0.5855 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1609, allocations: 19.92 kB / 0.5855 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1609, allocations: 0 / 0.5855 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.1609, allocations: 7.844 kB / 0.5855 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1609, allocations: 4 kB / 0.5855 GB, free: 2.535 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 7.259e-05/0.161, allocations: 113.8 kB / 0.5856 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.161, allocations: 8 kB / 0.5856 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1611, allocations: 65.52 kB / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1611, allocations: 0 / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1612, allocations: 0 / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1612, allocations: 0 / 0.5857 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1613, allocations: 161.6 kB / 0.5858 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1613, allocations: 0 / 0.5858 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.1614, allocations: 15.98 kB / 0.5858 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1614, allocations: 0 / 0.5858 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1614, allocations: 384 / 0.5859 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1614, allocations: 0 / 0.5859 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1614, allocations: 4 kB / 0.5859 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.1615, allocations: 88.95 kB / 0.5859 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.1615, allocations: 77.11 kB / 0.586 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1616, allocations: 0 / 0.586 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.1616, allocations: 4 kB / 0.586 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1616, allocations: 11.92 kB / 0.586 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1616, allocations: 0 / 0.586 GB, free: 1.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.1617, allocations: 87.28 kB / 0.5861 GB, free: 1.805 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.5861 GB, free: 1.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1619, allocations: 39.98 kB / 0.5861 GB, free: 1.766 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.0004665/0.1624, allocations: 0.6747 MB / 0.5868 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.1625, allocations: 19.92 kB / 0.5868 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1625, allocations: 4 kB / 0.5868 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.1625, allocations: 12 kB / 0.5868 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.1627, allocations: 4.875 kB / 0.5868 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.1631, allocations: 203.5 kB / 0.587 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1634, allocations: 0.6848 MB / 0.5877 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.1634, allocations: 256 / 0.5877 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1634, allocations: 15.44 kB / 0.5877 GB, free: 64 kB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1634, allocations: 0 / 0.5877 GB, free: 64 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.1741, allocations: 2.012 MB / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.1744, allocations: 279.7 kB / 0.59 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.866, allocations: 2.984 kB / 0.59 GB, free: 13.89 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)