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.001262/0.001262, allocations: 110.6 kB / 16.41 MB, free: 6.469 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.001168/0.001168, allocations: 189.2 kB / 17.34 MB, free: 5.711 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 298.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 99.84 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4933, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002501/0.4958, allocations: 1.35 MB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.4976, allocations: 1.093 MB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.4976, allocations: 3.938 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.4976, allocations: 0 / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.4977, allocations: 19.84 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.4983, allocations: 205.5 kB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.4984, allocations: 27.86 kB / 0.7698 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.4984, allocations: 19.72 kB / 0.7698 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.4985, allocations: 19.88 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.4985, allocations: 15.92 kB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4985, allocations: 0 / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.4992, allocations: 423.5 kB / 0.7702 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.4992, allocations: 7.984 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.4992, allocations: 11.94 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.4996, allocations: 189.3 kB / 0.7704 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4996, allocations: 4 kB / 0.7704 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4996, allocations: 0 / 0.7704 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4996, allocations: 7.984 kB / 0.7704 GB, free: 0.5078 MB / 0.5294 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.0005442/0.5001, allocations: 394.7 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5002, allocations: 8.031 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.5002, allocations: 0.9375 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.5004, allocations: 172.3 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.5004, allocations: 4.375 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.5004, allocations: 8.375 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5005, allocations: 38 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5005, allocations: 4 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5005, allocations: 4 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5005, allocations: 0 / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.5006, allocations: 11.98 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.5008, allocations: 161.7 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.5009, allocations: 50.48 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.5009, allocations: 8.891 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.502, allocations: 0.9895 MB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5021, allocations: 38.5 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5021, allocations: 0 / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.5022, allocations: 57.69 kB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5023, allocations: 55.34 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.5024, allocations: 109.8 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5024, allocations: 25.7 kB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.5024, allocations: 84.12 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.5024, allocations: 15.91 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.5025, allocations: 13.72 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5026, allocations: 318.8 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.5027, allocations: 7.984 kB / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.5027, allocations: 4 kB / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.5027, allocations: 24.86 kB / 0.7729 GB, free: 13.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5027, allocations: 0 / 0.7729 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.915e-05/0.5028, allocations: 57.58 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5028, allocations: 7.938 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5028, allocations: 7.875 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5029, allocations: 0 / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.503, allocations: 19.98 kB / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.503, allocations: 0 / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.503, allocations: 4 kB / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.503, allocations: 0 / 0.773 GB, free: 13.39 MB / 0.545 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.996e-05/0.5031, allocations: 109.8 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.5031, allocations: 7.938 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.5032, allocations: 68.61 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5032, allocations: 0 / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5032, allocations: 0 / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5032, allocations: 4 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.5034, allocations: 161.6 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5034, allocations: 0 / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.5035, allocations: 15.98 kB / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5035, allocations: 3.938 kB / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.5035, allocations: 0 / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5035, allocations: 4 kB / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5035, allocations: 0 / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.5036, allocations: 77.5 kB / 0.7735 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.5036, allocations: 85 kB / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.5037, allocations: 4 kB / 0.7736 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.5037, allocations: 4.047 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.5037, allocations: 7.969 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5037, allocations: 3.938 kB / 0.7736 GB, free: 12.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.5038, allocations: 87.28 kB / 0.7736 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5038, allocations: 0 / 0.7736 GB, free: 12.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002442/0.504, allocations: 43.8 kB / 0.7737 GB, free: 12.61 MB / 0.545 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.0002502/0.5043, allocations: 159.1 kB / 0.7738 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.149e-05/0.5043, allocations: 12 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5044, allocations: 0 / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.5044, allocations: 19.92 kB / 0.7739 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.5046, allocations: 11.69 kB / 0.7739 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.5049, allocations: 148.3 kB / 0.774 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5052, allocations: 0.6807 MB / 0.7747 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.5053, allocations: 0 / 0.7747 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.5053, allocations: 11.44 kB / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5053, allocations: 0 / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003848/0.5091, allocations: 1.163 MB / 0.7758 GB, free: 10.41 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)