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.001153/0.001153, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001203/0.001203, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 291.4 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 0.9659/0.9659, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 99.84 kB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5849, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002369/0.5873, allocations: 1.35 MB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.5891, allocations: 1.089 MB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.5891, allocations: 0 / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.5891, allocations: 3.938 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.5892, allocations: 11.92 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.5899, allocations: 226.8 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.59, allocations: 27.86 kB / 0.7698 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.59, allocations: 4 kB / 0.7698 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.5901, allocations: 15.92 kB / 0.7698 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.5902, allocations: 11.98 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.5902, allocations: 3.938 kB / 0.7698 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.5908, allocations: 423.5 kB / 0.7702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.5908, allocations: 8 kB / 0.7702 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.5908, allocations: 11.92 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.5911, allocations: 194 kB / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5912, allocations: 12 kB / 0.7704 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5912, allocations: 0 / 0.7704 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5912, allocations: 0 / 0.7704 GB, free: 0.5117 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.0004831/0.5917, allocations: 385.9 kB / 0.7708 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5917, allocations: 8.031 kB / 0.7708 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.5917, allocations: 4.844 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5919, allocations: 172.3 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.5919, allocations: 384 / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5919, allocations: 4.375 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.592, allocations: 46 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5921, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5921, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5921, allocations: 3.984 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.5921, allocations: 11.94 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.5923, allocations: 173.6 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.5924, allocations: 34.58 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.5924, allocations: 24.92 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009489/0.5934, allocations: 0.9817 MB / 0.7722 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.5934, allocations: 38.5 kB / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5934, allocations: 4 kB / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.5936, allocations: 53.62 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5937, allocations: 55.41 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.5938, allocations: 105.8 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5938, allocations: 25.7 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.5938, allocations: 84.14 kB / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.5939, allocations: 7.812 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.5939, allocations: 29.64 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.594, allocations: 314.8 kB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.5941, allocations: 8 kB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.5941, allocations: 4 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.5941, allocations: 20.84 kB / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5941, allocations: 0 / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.43e-05/0.5942, allocations: 53.62 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5943, allocations: 11.94 kB / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5943, allocations: 4 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5943, allocations: 0 / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5944, allocations: 12 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5944, allocations: 0 / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.5944, allocations: 7.938 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5945, allocations: 4 kB / 0.773 GB, free: 13.41 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.405e-05/0.5945, allocations: 109.8 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.5946, allocations: 7.844 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.5947, allocations: 68.42 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5947, allocations: 8 kB / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5947, allocations: 0 / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5947, allocations: 384 / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.5949, allocations: 161.7 kB / 0.7733 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5949, allocations: 0 / 0.7733 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.5949, allocations: 12 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.595, allocations: 3.938 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.595, allocations: 4 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.595, allocations: 4 kB / 0.7734 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.595, allocations: 320 / 0.7734 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.5951, allocations: 81.05 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.5951, allocations: 92.94 kB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.5952, allocations: 0 / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.5952, allocations: 4 kB / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.5952, allocations: 4 kB / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.5952, allocations: 0 / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.5953, allocations: 87.25 kB / 0.7736 GB, free: 12.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5953, allocations: 0 / 0.7736 GB, free: 12.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002286/0.5955, allocations: 48 kB / 0.7737 GB, free: 12.62 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.0002586/0.5958, allocations: 147.1 kB / 0.7738 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.5959, allocations: 23.98 kB / 0.7738 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5959, allocations: 0 / 0.7738 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.5959, allocations: 11.94 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.5962, allocations: 9.875 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.5965, allocations: 174.9 kB / 0.774 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5968, allocations: 0.6807 MB / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.5968, allocations: 7.438 kB / 0.7747 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/0.5968, allocations: 7.938 kB / 0.7747 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Templates: time 0.002731/0.5996, allocations: 1.042 MB / 0.7757 GB, free: 10.47 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)