Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001015/0.001015, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008545/0.008545, allocations: 171.9 kB / 16.26 MB, free: 6.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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 10.44 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3682, allocations: 162.2 MB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001628/0.3699, allocations: 1.086 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3717, allocations: 1.118 MB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.3717, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3718, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.3718, allocations: 7.922 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.3723, allocations: 151.6 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.3724, allocations: 31.86 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.3725, allocations: 8 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.3725, allocations: 7.938 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3726, allocations: 19.92 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3726, allocations: 0 / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.3733, allocations: 431.4 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.3733, allocations: 0 / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.3734, allocations: 45.56 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3737, allocations: 195.9 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3737, allocations: 0 / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3737, allocations: 4 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3737, allocations: 0 / 1.077 GB, free: 4.332 MB / 0.8262 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.0004447/0.3742, allocations: 375.4 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3742, allocations: 8.031 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.3742, allocations: 4.938 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3744, allocations: 172.2 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3744, allocations: 4.375 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.3744, allocations: 384 / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3745, allocations: 46 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3745, allocations: 4 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3745, allocations: 0 / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3746, allocations: 0 / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.3746, allocations: 19.92 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3748, allocations: 153.7 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.787e-05/0.3749, allocations: 42.58 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3749, allocations: 16.86 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.376, allocations: 0.9856 MB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.376, allocations: 46.44 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.376, allocations: 0 / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001642/0.3762, allocations: 61.47 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3762, allocations: 59.41 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.3763, allocations: 105.8 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3763, allocations: 25.7 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.3764, allocations: 80.14 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3764, allocations: 15.89 kB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.3765, allocations: 13.72 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3766, allocations: 310.8 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.3766, allocations: 8 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.3766, allocations: 7.984 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.3767, allocations: 24.8 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3767, allocations: 0 / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.129e-05/0.3768, allocations: 53.59 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3768, allocations: 7.938 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3768, allocations: 0 / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3768, allocations: 4 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3769, allocations: 15.98 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.377, allocations: 0 / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.377, allocations: 11.94 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.377, allocations: 0 / 1.08 GB, free: 1.238 MB / 0.8262 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.522e-05/0.3771, allocations: 105.8 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3771, allocations: 7.938 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3772, allocations: 63.64 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3773, allocations: 0 / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3773, allocations: 4 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3773, allocations: 3.984 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3774, allocations: 165.6 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3774, allocations: 0 / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.3775, allocations: 12 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3775, allocations: 7.922 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3775, allocations: 8 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3775, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3775, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3776, allocations: 77.44 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.3777, allocations: 84.98 kB / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.3777, allocations: 0 / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.3777, allocations: 8 kB / 1.08 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3778, allocations: 4.031 kB / 1.08 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3778, allocations: 0 / 1.08 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3778, allocations: 87.58 kB / 1.08 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3778, allocations: 0 / 1.08 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002274/0.3781, allocations: 40 kB / 1.08 GB, free: 476 kB / 0.8262 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.0002611/0.3783, allocations: 159.1 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.3784, allocations: 23.92 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3785, allocations: 0 / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.3785, allocations: 8 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3787, allocations: 16.2 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.379, allocations: 179.1 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3793, allocations: 0.677 MB / 1.081 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.3794, allocations: 8 kB / 1.081 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.3794, allocations: 11.44 kB / 1.081 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3794, allocations: 0 / 1.081 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.003942/0.3834, allocations: 1.113 MB / 1.083 GB, free: 14.27 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)