Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 184.5 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.6 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.314, allocations: 114.5 MB / 0.9823 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003464/0.3175, allocations: 1.42 MB / 0.9837 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3198, allocations: 1.159 MB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.3198, allocations: 4 kB / 0.9848 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.3199, allocations: 3.938 kB / 0.9848 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.32, allocations: 3.938 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.3208, allocations: 147.6 kB / 0.9849 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.124e-05/0.3208, allocations: 31.86 kB / 0.985 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.3209, allocations: 4 kB / 0.985 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.321, allocations: 15.92 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.3211, allocations: 15.92 kB / 0.985 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3211, allocations: 7.984 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.3218, allocations: 415.5 kB / 0.9854 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.3219, allocations: 7.969 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.3219, allocations: 11.94 kB / 0.9854 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3223, allocations: 187.9 kB / 0.9856 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3223, allocations: 4 kB / 0.9856 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3223, allocations: 7.938 kB / 0.9856 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3223, allocations: 0 / 0.9856 GB, free: 6.902 MB / 0.7136 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.0005257/0.3229, allocations: 379.4 kB / 0.986 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3229, allocations: 12.02 kB / 0.986 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.323, allocations: 4.844 kB / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3231, allocations: 176.3 kB / 0.9862 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3232, allocations: 384 / 0.9862 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3232, allocations: 8.375 kB / 0.9862 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3233, allocations: 45.92 kB / 0.9862 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3233, allocations: 4 kB / 0.9862 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3234, allocations: 0 / 0.9862 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3234, allocations: 3.938 kB / 0.9862 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.857e-05/0.3234, allocations: 15.98 kB / 0.9862 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.3237, allocations: 165.6 kB / 0.9864 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3238, allocations: 34.58 kB / 0.9864 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.3238, allocations: 24.86 kB / 0.9865 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.3249, allocations: 0.9856 MB / 0.9874 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.325, allocations: 34.5 kB / 0.9875 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.325, allocations: 4 kB / 0.9875 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000215/0.3252, allocations: 57.69 kB / 0.9875 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3253, allocations: 51.41 kB / 0.9876 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.3254, allocations: 105.8 kB / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3254, allocations: 25.7 kB / 0.9877 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3254, allocations: 84.14 kB / 0.9878 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3255, allocations: 11.81 kB / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3255, allocations: 17.7 kB / 0.9878 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3256, allocations: 322.8 kB / 0.9881 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.3257, allocations: 4 kB / 0.9881 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.3257, allocations: 4 kB / 0.9881 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.3258, allocations: 32.78 kB / 0.9881 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3258, allocations: 0 / 0.9881 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.3259, allocations: 45.7 kB / 0.9882 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3259, allocations: 11.92 kB / 0.9882 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3259, allocations: 0 / 0.9882 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.326, allocations: 4 kB / 0.9882 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3261, allocations: 15.94 kB / 0.9882 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3261, allocations: 4 kB / 0.9882 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.3261, allocations: 3.938 kB / 0.9882 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3262, allocations: 0 / 0.9882 GB, free: 3.793 MB / 0.7136 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 0.0001234/0.3263, allocations: 117.8 kB / 0.9883 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.3263, allocations: 11.84 kB / 0.9884 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3265, allocations: 61.91 kB / 0.9884 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3265, allocations: 0 / 0.9884 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3265, allocations: 0 / 0.9884 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3265, allocations: 4 kB / 0.9884 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3267, allocations: 161.7 kB / 0.9886 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3267, allocations: 0 / 0.9886 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.3268, allocations: 15.94 kB / 0.9886 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3268, allocations: 3.938 kB / 0.9886 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3268, allocations: 4 kB / 0.9886 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3268, allocations: 0 / 0.9886 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3268, allocations: 0 / 0.9886 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.3273, allocations: 0.6356 MB / 0.9892 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3274, allocations: 89.03 kB / 0.9893 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3274, allocations: 0 / 0.9893 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.3274, allocations: 0 / 0.9893 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3275, allocations: 4 kB / 0.9893 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3275, allocations: 0 / 0.9893 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.3275, allocations: 87.27 kB / 0.9894 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3275, allocations: 0 / 0.9894 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000356/0.3279, allocations: 44 kB / 0.9894 GB, free: 2.414 MB / 0.7136 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.0003006/0.3282, allocations: 155.1 kB / 0.9896 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3283, allocations: 27.92 kB / 0.9896 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3283, allocations: 0 / 0.9896 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.3284, allocations: 11.94 kB / 0.9896 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3286, allocations: 4 kB / 0.9896 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3291, allocations: 275.7 kB / 0.9899 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3295, allocations: 0.6809 MB / 0.9905 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.3295, allocations: 5.625 kB / 0.9905 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.3295, allocations: 11.44 kB / 0.9906 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.3295, allocations: 4 kB / 0.9906 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.004257/0.3338, allocations: 1.118 MB / 0.9917 GB, free: 112 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)