Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 92.59 kB / 16.67 MB, free: 5.742 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.001121/0.001121, allocations: 180.9 kB / 17.57 MB, free: 5.477 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.418/1.418, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 115.5 MB / 408.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003703, allocations: 12 kB / 496.6 MB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.467, allocations: 77.51 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003286/0.4704, allocations: 2.682 MB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.4732, allocations: 2.078 MB / 0.5653 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.4734, allocations: 4.219 kB / 0.5653 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.4749, allocations: 471.6 kB / 0.5657 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.4752, allocations: 133.3 kB / 0.5658 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.4754, allocations: 49.72 kB / 0.5659 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.4759, allocations: 473.1 kB / 0.5663 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.4762, allocations: 133.2 kB / 0.5665 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.4764, allocations: 138.1 kB / 0.5666 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.4767, allocations: 173.3 kB / 0.5668 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.4767, allocations: 18 kB / 0.5668 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.4768, allocations: 20.09 kB / 0.5668 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.4769, allocations: 77.12 kB / 0.5669 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.4771, allocations: 222.2 kB / 0.5671 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.4777, allocations: 441.3 kB / 0.5675 GB, free: 31.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4777, allocations: 3.938 kB / 0.5675 GB, free: 31.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4777, allocations: 4.531 kB / 0.5675 GB, free: 31.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.4777, allocations: 0 / 0.5675 GB, free: 31.74 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000969/0.4787, allocations: 0.641 MB / 0.5681 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4788, allocations: 12.59 kB / 0.5682 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.4789, allocations: 47.56 kB / 0.5682 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4793, allocations: 376 kB / 0.5686 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4794, allocations: 14.66 kB / 0.5686 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.4794, allocations: 22.97 kB / 0.5686 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.4799, allocations: 215 kB / 0.5688 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4799, allocations: 0 / 0.5688 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4799, allocations: 10.78 kB / 0.5688 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4799, allocations: 5.25 kB / 0.5688 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.4804, allocations: 181.7 kB / 0.569 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.4817, allocations: 0.8655 MB / 0.5698 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.482, allocations: 163.2 kB / 0.57 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.4822, allocations: 121.5 kB / 0.5701 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4823, allocations: 3 kB / 0.5701 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4823, allocations: 32.8 kB / 0.5701 GB, free: 29.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.143e-06/0.4823, allocations: 1.312 kB / 0.5701 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006564/0.4829, allocations: 278 kB / 0.5704 GB, free: 29.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.483, allocations: 55.19 kB / 0.5705 GB, free: 29.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.4835, allocations: 419.1 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4836, allocations: 26.8 kB / 0.5709 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4837, allocations: 207.7 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.4838, allocations: 59.83 kB / 0.5711 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.4838, allocations: 19.91 kB / 0.5712 GB, free: 29.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4839, allocations: 350.3 kB / 0.5715 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.4841, allocations: 59.33 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4842, allocations: 64 kB / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4846, allocations: 143.9 kB / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4846, allocations: 1.625 kB / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004156/0.485, allocations: 219.2 kB / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4851, allocations: 7.156 kB / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4851, allocations: 0 / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4851, allocations: 6.969 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.4854, allocations: 62.42 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4854, allocations: 1.125 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.4856, allocations: 23.8 kB / 0.5721 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4856, allocations: 7.953 kB / 0.5721 GB, free: 28.73 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 (20): * Single equations (assignments): 20 * 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.0001515/0.4858, allocations: 170.5 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.4858, allocations: 37.33 kB / 0.5723 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.4859, allocations: 48.17 kB / 0.5723 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4859, allocations: 2.969 kB / 0.5723 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.4859, allocations: 4.547 kB / 0.5723 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4859, allocations: 2.266 kB / 0.5723 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.4864, allocations: 375.3 kB / 0.5727 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4864, allocations: 0.7812 kB / 0.5727 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4867, allocations: 63.41 kB / 0.5727 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4867, allocations: 1.797 kB / 0.5727 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4867, allocations: 5.156 kB / 0.5727 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4867, allocations: 1.062 kB / 0.5727 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4867, allocations: 1.031 kB / 0.5727 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.4874, allocations: 393.4 kB / 0.5731 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4875, allocations: 112.5 kB / 0.5732 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.4875, allocations: 9.781 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4877, allocations: 16.77 kB / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.4878, allocations: 10.41 kB / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4878, allocations: 4.5 kB / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003726/0.4882, allocations: 303.4 kB / 0.5736 GB, free: 27.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4882, allocations: 2.312 kB / 0.5736 GB, free: 27.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.4885, allocations: 75.22 kB / 0.5736 GB, free: 27.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001381/0.4887, allocations: 112.8 kB / 0.5737 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.4891, allocations: 151 kB / 0.5739 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4891, allocations: 1 kB / 0.5739 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4893, allocations: 85.19 kB / 0.574 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.4899, allocations: 106.4 kB / 0.5741 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4914, allocations: 0.9654 MB / 0.575 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4917, allocations: 0.7974 MB / 0.5758 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.4918, allocations: 28.38 kB / 0.5758 GB, free: 26.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4918, allocations: 1 kB / 0.5758 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Templates: time 0.009614/0.5014, allocations: 4.283 MB / 0.58 GB, free: 25.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)