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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 109.1 kB / 16.37 MB, free: 6.016 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.001255/0.001255, allocations: 194.1 kB / 17.31 MB, free: 5.613 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.002119, allocations: 285.8 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8901/0.8901, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 95.73 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 86.98 MB / 0.6817 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002302/0.1499, allocations: 1.362 MB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1513, allocations: 1.076 MB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.1513, allocations: 0 / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.1513, allocations: 0 / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.1514, allocations: 19.86 kB / 0.6841 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.152, allocations: 207.3 kB / 0.6843 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.152, allocations: 35.78 kB / 0.6843 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1521, allocations: 15.92 kB / 0.6843 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.1522, allocations: 8 kB / 0.6843 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.1522, allocations: 19.92 kB / 0.6843 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1522, allocations: 0 / 0.6843 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.1528, allocations: 423.5 kB / 0.6847 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1528, allocations: 7.922 kB / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1528, allocations: 15.94 kB / 0.6848 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1531, allocations: 187.7 kB / 0.6849 GB, free: 4.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1531, allocations: 3.984 kB / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1531, allocations: 3.938 kB / 0.6849 GB, free: 4.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1531, allocations: 4 kB / 0.685 GB, free: 4.039 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.0003775/0.1535, allocations: 383.3 kB / 0.6853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.1535, allocations: 15.97 kB / 0.6853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.1536, allocations: 0.9375 kB / 0.6853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.1537, allocations: 172.3 kB / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1537, allocations: 384 / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.1537, allocations: 384 / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.1538, allocations: 46 kB / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1538, allocations: 3.938 kB / 0.6855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1538, allocations: 0 / 0.6855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1538, allocations: 0 / 0.6855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.1539, allocations: 15.98 kB / 0.6856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.154, allocations: 157.7 kB / 0.6857 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.1541, allocations: 50.48 kB / 0.6858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.1542, allocations: 12.89 kB / 0.6858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009079/0.1551, allocations: 0.9856 MB / 0.6867 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1551, allocations: 34.5 kB / 0.6868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1551, allocations: 0 / 0.6868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001644/0.1553, allocations: 65.53 kB / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1553, allocations: 59.39 kB / 0.6869 GB, free: 1.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.1554, allocations: 101.9 kB / 0.687 GB, free: 1.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1554, allocations: 29.7 kB / 0.687 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.1555, allocations: 88.12 kB / 0.6871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1555, allocations: 11.83 kB / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.1555, allocations: 17.72 kB / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1557, allocations: 314.8 kB / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.1557, allocations: 11.98 kB / 0.6874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.1557, allocations: 12 kB / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.1558, allocations: 16.86 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1558, allocations: 0 / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.163e-05/0.1559, allocations: 57.53 kB / 0.6875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1559, allocations: 11.94 kB / 0.6875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1559, allocations: 0 / 0.6875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1559, allocations: 0 / 0.6875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.156, allocations: 15.98 kB / 0.6875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.156, allocations: 0 / 0.6875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.1561, allocations: 0 / 0.6875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1561, allocations: 4 kB / 0.6875 GB, free: 0.9336 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.705e-05/0.1561, allocations: 113.8 kB / 0.6877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1562, allocations: 3.938 kB / 0.6877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1563, allocations: 65.52 kB / 0.6877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1563, allocations: 7.938 kB / 0.6877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1563, allocations: 0 / 0.6877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1563, allocations: 3.938 kB / 0.6877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1564, allocations: 161.6 kB / 0.6879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1564, allocations: 0 / 0.6879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.1565, allocations: 19.98 kB / 0.6879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.1565, allocations: 3.938 kB / 0.6879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1566, allocations: 0 / 0.6879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1566, allocations: 0 / 0.6879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1566, allocations: 0 / 0.6879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.399e-05/0.1567, allocations: 73.5 kB / 0.688 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1567, allocations: 89.08 kB / 0.6881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1567, allocations: 0 / 0.6881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.1568, allocations: 4 kB / 0.6881 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1568, allocations: 7.922 kB / 0.6881 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1568, allocations: 4 kB / 0.6881 GB, free: 288 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.1568, allocations: 83.59 kB / 0.6882 GB, free: 204 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 0 / 0.6882 GB, free: 204 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1571, allocations: 43.92 kB / 0.6882 GB, free: 160 kB / 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.0002295/0.1573, allocations: 151.2 kB / 0.6883 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2225/0.3798, allocations: 12.92 kB / 0.6884 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3798, allocations: 1.344 kB / 0.6884 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.3799, allocations: 13.86 kB / 0.6884 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3801, allocations: 7.078 kB / 0.6884 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3805, allocations: 159.8 kB / 0.6885 GB, free: 18.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.876e-05/0.3806, allocations: 0.6797 MB / 0.6892 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3807, allocations: 4.812 kB / 0.6892 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.3807, allocations: 10.59 kB / 0.6892 GB, free: 17.74 MB / 494.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3807, allocations: 2 kB / 0.6892 GB, free: 17.74 MB / 494.1 MB Notification: Performance of Templates: time 0.003742/0.3844, allocations: 1.15 MB / 0.6903 GB, free: 17.74 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)