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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001396/0.001396, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002649, allocations: 290.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.507 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 103.8 kB / 0.606 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1473, allocations: 89.15 MB / 0.693 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002629/0.15, allocations: 1.423 MB / 0.6944 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1518, allocations: 1.082 MB / 0.6955 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.1518, allocations: 0 / 0.6955 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.1518, allocations: 3.984 kB / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.1519, allocations: 7.922 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1526, allocations: 196.2 kB / 0.6957 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.1526, allocations: 23.88 kB / 0.6957 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1527, allocations: 12.2 kB / 0.6957 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.1527, allocations: 11.94 kB / 0.6957 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1528, allocations: 15.92 kB / 0.6957 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1528, allocations: 0 / 0.6957 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.1534, allocations: 423.5 kB / 0.6962 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1535, allocations: 11.97 kB / 0.6962 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1535, allocations: 19.88 kB / 0.6962 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1538, allocations: 191.6 kB / 0.6964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1538, allocations: 0 / 0.6964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1538, allocations: 0 / 0.6964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1538, allocations: 0 / 0.6964 GB, free: 1.23 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.0004705/0.1543, allocations: 387.3 kB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1544, allocations: 12.03 kB / 0.6967 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1544, allocations: 8.844 kB / 0.6968 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1545, allocations: 172.4 kB / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1546, allocations: 384 / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.1546, allocations: 384 / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.1547, allocations: 46 kB / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1547, allocations: 0 / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1547, allocations: 0 / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1547, allocations: 0 / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.1548, allocations: 15.92 kB / 0.697 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.1549, allocations: 161.6 kB / 0.6971 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.155, allocations: 46.56 kB / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.1551, allocations: 12.89 kB / 0.6972 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.1562, allocations: 0.9856 MB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1562, allocations: 38.5 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.086e-06/0.1562, allocations: 3.984 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001627/0.1564, allocations: 57.62 kB / 0.6982 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1564, allocations: 51.41 kB / 0.6983 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.1565, allocations: 105.8 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1565, allocations: 33.64 kB / 0.6984 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1566, allocations: 88.14 kB / 0.6985 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1566, allocations: 15.73 kB / 0.6985 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1567, allocations: 17.72 kB / 0.6985 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1568, allocations: 314.8 kB / 0.6988 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.1568, allocations: 7.984 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.1568, allocations: 8 kB / 0.6989 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.1569, allocations: 16.86 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1569, allocations: 0 / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.945e-05/0.157, allocations: 57.62 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.157, allocations: 7.938 kB / 0.6989 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.157, allocations: 7.938 kB / 0.6989 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.157, allocations: 0 / 0.6989 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1572, allocations: 15.98 kB / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1572, allocations: 0 / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.1572, allocations: 0 / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1572, allocations: 4 kB / 0.699 GB, free: 14.12 MB / 0.4981 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.063e-05/0.1573, allocations: 114.5 kB / 0.6991 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.1573, allocations: 11.84 kB / 0.6991 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1575, allocations: 62.8 kB / 0.6991 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1575, allocations: 0 / 0.6991 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1575, allocations: 7.984 kB / 0.6992 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1575, allocations: 0 / 0.6992 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1576, allocations: 153.7 kB / 0.6993 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1576, allocations: 4 kB / 0.6993 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.1577, allocations: 11.98 kB / 0.6993 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1577, allocations: 7.938 kB / 0.6993 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1577, allocations: 0 / 0.6993 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1578, allocations: 4 kB / 0.6993 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1578, allocations: 0 / 0.6993 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1579, allocations: 77.06 kB / 0.6994 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.1579, allocations: 88.95 kB / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.158, allocations: 0 / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.158, allocations: 0 / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.158, allocations: 432 / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.158, allocations: 4 kB / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.1581, allocations: 95.2 kB / 0.6996 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 0.6996 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.1583, allocations: 39.94 kB / 0.6996 GB, free: 13.35 MB / 0.4981 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.0002402/0.1586, allocations: 159.2 kB / 0.6998 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.1587, allocations: 19.98 kB / 0.6998 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1587, allocations: 0 / 0.6998 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.1587, allocations: 15.92 kB / 0.6998 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1589, allocations: 12 kB / 0.6998 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.1592, allocations: 152.3 kB / 0.7 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1595, allocations: 0.6845 MB / 0.7006 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.1596, allocations: 9.406 kB / 0.7006 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.1596, allocations: 7.438 kB / 0.7006 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1596, allocations: 0 / 0.7006 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.003821/0.1634, allocations: 1.136 MB / 0.7018 GB, free: 11.16 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)