Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 115.3 kB / 16.38 MB, free: 6.008 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.001141/0.00114, allocations: 185.6 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2194, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002455/0.2219, allocations: 1.29 MB / 0.7861 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3579/0.5798, allocations: 3.751 MB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.5799, allocations: 0 / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.5799, allocations: 2.281 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.5804, allocations: 94.58 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.5808, allocations: 138.7 kB / 0.79 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.5809, allocations: 30.95 kB / 0.79 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.5809, allocations: 3.188 kB / 0.79 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.581, allocations: 24.25 kB / 0.79 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.5811, allocations: 39.61 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.5812, allocations: 0 / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.5816, allocations: 298.2 kB / 0.7903 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.5816, allocations: 6.562 kB / 0.7903 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.5817, allocations: 9.938 kB / 0.7904 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.5819, allocations: 120.1 kB / 0.7905 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5819, allocations: 3.844 kB / 0.7905 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5819, allocations: 0 / 0.7905 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.5819, allocations: 0.7188 kB / 0.7905 GB, free: 46.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003308/0.5823, allocations: 354.6 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5823, allocations: 10.53 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.5823, allocations: 2.516 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.5824, allocations: 173.2 kB / 0.791 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5824, allocations: 0.9062 kB / 0.791 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5825, allocations: 5.688 kB / 0.791 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.5826, allocations: 39.17 kB / 0.791 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5826, allocations: 0.9375 kB / 0.791 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.5826, allocations: 0 / 0.791 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5826, allocations: 0 / 0.791 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.5826, allocations: 9.156 kB / 0.791 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.5828, allocations: 156.2 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.5828, allocations: 27.95 kB / 0.7912 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.5828, allocations: 8.656 kB / 0.7912 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.583, allocations: 99.69 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.5831, allocations: 37.12 kB / 0.7914 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5831, allocations: 0 / 0.7914 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.5832, allocations: 48.48 kB / 0.7914 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.5832, allocations: 52.03 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.5833, allocations: 104.8 kB / 0.7915 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.5833, allocations: 28.73 kB / 0.7916 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.5833, allocations: 80.14 kB / 0.7917 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.5834, allocations: 7.844 kB / 0.7917 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.5834, allocations: 13.62 kB / 0.7917 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.5834, allocations: 319.5 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.5835, allocations: 4 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.5835, allocations: 6.562 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.5835, allocations: 12.77 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5835, allocations: 1 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.633e-05/0.5836, allocations: 45.91 kB / 0.792 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5836, allocations: 12 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5836, allocations: 0 / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5836, allocations: 0 / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.5837, allocations: 6.781 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5837, allocations: 1.5 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.5837, allocations: 0 / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.5837, allocations: 1.031 kB / 0.7921 GB, free: 44.79 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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 4.208e-05/0.5838, allocations: 110 kB / 0.7922 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.5838, allocations: 7.844 kB / 0.7922 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.5839, allocations: 53.19 kB / 0.7922 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5839, allocations: 2.766 kB / 0.7922 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5839, allocations: 0 / 0.7922 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.5839, allocations: 82.58 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.5839, allocations: 3.938 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.584, allocations: 0 / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.584, allocations: 7.297 kB / 0.7923 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.239e-05/0.5841, allocations: 121.1 kB / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.814e-05/0.5841, allocations: 217.3 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.814e-05/0.5842, allocations: 5.344 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.886e-05/0.5842, allocations: 86.94 kB / 0.7927 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of Backend: time 3.7e-07/0.5842, allocations: 1.125 kB / 0.7927 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.5847, allocations: 136.2 kB / 0.7929 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000371/0.585, allocations: 0.5797 MB / 0.7934 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.003275/0.5883, allocations: 1.384 MB / 0.7948 GB, free: 43.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)