Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001406/0.001407, allocations: 104.4 kB / 16.94 MB, free: 5.816 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.001389/0.001389, allocations: 187.3 kB / 17.86 MB, free: 5.176 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.386/1.386, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.12 kB / 0.4918 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4854, allocations: 77.93 MB / 0.5679 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002978/0.4884, allocations: 1.344 MB / 0.5692 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4902, allocations: 1.082 MB / 0.5703 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.4903, allocations: 1.062 kB / 0.5703 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.4903, allocations: 0.8438 kB / 0.5703 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.4904, allocations: 10.8 kB / 0.5703 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.491, allocations: 217.5 kB / 0.5705 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.4911, allocations: 37.12 kB / 0.5705 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.4912, allocations: 6.797 kB / 0.5705 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.4913, allocations: 14.12 kB / 0.5705 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.4913, allocations: 16.91 kB / 0.5706 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4913, allocations: 1.125 kB / 0.5706 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.4921, allocations: 428.9 kB / 0.571 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.4921, allocations: 6.125 kB / 0.571 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.4921, allocations: 10.92 kB / 0.571 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.4925, allocations: 202.4 kB / 0.5712 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4925, allocations: 0.6562 kB / 0.5712 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4925, allocations: 0 / 0.5712 GB, free: 30.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4925, allocations: 1.656 kB / 0.5712 GB, free: 30.78 MB / 446.1 MB 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.0004332/0.493, allocations: 380.2 kB / 0.5715 GB, free: 30.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.493, allocations: 9.594 kB / 0.5716 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4931, allocations: 8.219 kB / 0.5716 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4932, allocations: 172.5 kB / 0.5717 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4932, allocations: 1.594 kB / 0.5717 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.4932, allocations: 3.156 kB / 0.5717 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.4933, allocations: 47.67 kB / 0.5718 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4934, allocations: 0 / 0.5718 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4934, allocations: 1.031 kB / 0.5718 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4934, allocations: 0.75 kB / 0.5718 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.4934, allocations: 14.39 kB / 0.5718 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.4936, allocations: 163.2 kB / 0.5719 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4937, allocations: 43.77 kB / 0.572 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.4937, allocations: 16.61 kB / 0.572 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/0.4946, allocations: 0.9872 MB / 0.573 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4946, allocations: 36.84 kB / 0.573 GB, free: 28.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4946, allocations: 1.438 kB / 0.573 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001803/0.4948, allocations: 61.08 kB / 0.5731 GB, free: 28.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.4948, allocations: 51.41 kB / 0.5731 GB, free: 28.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.4949, allocations: 109.3 kB / 0.5732 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.4949, allocations: 25.7 kB / 0.5732 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.495, allocations: 85.91 kB / 0.5733 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.495, allocations: 14.36 kB / 0.5733 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.495, allocations: 14.69 kB / 0.5733 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.4951, allocations: 319.5 kB / 0.5737 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.4951, allocations: 5.234 kB / 0.5737 GB, free: 28.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.4952, allocations: 5.516 kB / 0.5737 GB, free: 28.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.4952, allocations: 29.61 kB / 0.5737 GB, free: 28.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4952, allocations: 0 / 0.5737 GB, free: 28.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.888e-05/0.4953, allocations: 52.58 kB / 0.5737 GB, free: 28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4953, allocations: 12.8 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4953, allocations: 1.375 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4954, allocations: 0 / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4955, allocations: 17.67 kB / 0.5738 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4955, allocations: 1.438 kB / 0.5738 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.4955, allocations: 1.609 kB / 0.5738 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4955, allocations: 1.469 kB / 0.5738 GB, free: 27.99 MB / 446.1 MB 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 6.079e-05/0.4956, allocations: 109.6 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.4956, allocations: 14.41 kB / 0.5739 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.4958, allocations: 69.52 kB / 0.574 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4958, allocations: 0 / 0.574 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4958, allocations: 4.594 kB / 0.574 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4958, allocations: 1.125 kB / 0.574 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.4959, allocations: 162.5 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4959, allocations: 1.578 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.496, allocations: 14.39 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.496, allocations: 5.594 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.496, allocations: 1.406 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.496, allocations: 0.6562 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.496, allocations: 0 / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.625e-05/0.4961, allocations: 76.06 kB / 0.5742 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.4961, allocations: 86 kB / 0.5743 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4962, allocations: 2.703 kB / 0.5743 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.4962, allocations: 0.5625 kB / 0.5743 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.4962, allocations: 9.078 kB / 0.5743 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4962, allocations: 1.969 kB / 0.5743 GB, free: 27.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.4963, allocations: 85.28 kB / 0.5744 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4963, allocations: 1.031 kB / 0.5744 GB, free: 27.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00024/0.4965, allocations: 40.28 kB / 0.5744 GB, free: 27.35 MB / 446.1 MB 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.0002533/0.4968, allocations: 153 kB / 0.5746 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.4969, allocations: 21.75 kB / 0.5746 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4969, allocations: 0 / 0.5746 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.4969, allocations: 17.78 kB / 0.5746 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.4972, allocations: 6.156 kB / 0.5746 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.4975, allocations: 174.2 kB / 0.5748 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4977, allocations: 0.6801 MB / 0.5755 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.4977, allocations: 10.22 kB / 0.5755 GB, free: 26.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4977, allocations: 0 / 0.5755 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Templates: time 0.003421/0.5012, allocations: 1.045 MB / 0.5765 GB, free: 26.34 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)