Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001245, allocations: 195.4 kB / 499.1 MB, free: 4.707 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.6 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 54.8 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3511, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002394/0.3536, allocations: 1.416 MB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3551, allocations: 1.135 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3552, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.3552, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.3553, allocations: 7.922 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.3557, allocations: 159.6 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.3558, allocations: 27.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.3559, allocations: 4 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.3559, allocations: 11.94 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.356, allocations: 15.92 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.356, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3565, allocations: 431.4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3565, allocations: 7.984 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.3566, allocations: 7.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3568, allocations: 205.7 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3568, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3569, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3569, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 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.0003884/0.3573, allocations: 383.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3573, allocations: 11.98 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3574, allocations: 12.84 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.3575, allocations: 160.4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3575, allocations: 384 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3575, allocations: 4.375 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.811e-05/0.3576, allocations: 42 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3576, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3576, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3576, allocations: 7.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.3577, allocations: 15.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3578, allocations: 165.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.3579, allocations: 46.55 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.358, allocations: 16.89 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/0.3587, allocations: 0.9856 MB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3587, allocations: 42.48 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3587, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.3589, allocations: 49.64 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.3589, allocations: 59.39 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.359, allocations: 101.9 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.359, allocations: 33.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.359, allocations: 84.12 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3591, allocations: 15.81 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.3591, allocations: 13.72 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.3591, allocations: 322.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.3592, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.3592, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.3592, allocations: 25.08 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3592, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.592e-05/0.3593, allocations: 57.67 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3593, allocations: 11.88 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3593, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3594, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3595, allocations: 15.98 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3595, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.3595, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3595, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 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 5.575e-05/0.3596, allocations: 110.5 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.3596, allocations: 15.84 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.3597, allocations: 67.77 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3597, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3597, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3598, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.391e-05/0.3598, allocations: 161.7 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3598, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.3599, allocations: 15.98 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3599, allocations: 3.938 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3599, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3599, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.36, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3602, allocations: 0.6317 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3602, allocations: 85.05 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3602, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.3603, allocations: 8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3603, allocations: 11.86 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3603, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.3603, allocations: 79.28 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3603, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003023/0.3607, allocations: 43.98 kB / 1.225 GB, free: 109.3 MB / 0.823 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.0002454/0.3609, allocations: 159.8 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.361, allocations: 16 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.361, allocations: 4 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.361, allocations: 15.92 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3613, allocations: 13.14 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.3616, allocations: 252.7 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3618, allocations: 0.6809 MB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.3618, allocations: 8.312 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.3619, allocations: 11.44 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3619, allocations: 0 / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of Templates: time 0.003119/0.365, allocations: 1.136 MB / 1.228 GB, free: 107 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)