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.001322/0.001322, allocations: 108.5 kB / 16.53 MB, free: 6.656 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.001351/0.001351, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7828/0.7828, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.89 kB / 493.6 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4471, allocations: 76.17 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003958/0.4511, allocations: 3.048 MB / 0.5594 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.4542, allocations: 2.103 MB / 0.5614 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.4547, allocations: 7.031 kB / 0.5615 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.4566, allocations: 477.8 kB / 0.5619 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.4571, allocations: 142.9 kB / 0.562 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.4573, allocations: 49.12 kB / 0.5621 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.4578, allocations: 464.8 kB / 0.5625 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.4581, allocations: 137.5 kB / 0.5627 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4583, allocations: 145.9 kB / 0.5628 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.4585, allocations: 184.2 kB / 0.563 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.4585, allocations: 22.75 kB / 0.563 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.4586, allocations: 23.88 kB / 0.563 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.4587, allocations: 91.41 kB / 0.5631 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.4589, allocations: 202.4 kB / 0.5633 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.4594, allocations: 446.3 kB / 0.5637 GB, free: 31.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4594, allocations: 1.031 kB / 0.5637 GB, free: 31.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4594, allocations: 0 / 0.5637 GB, free: 31.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4595, allocations: 0 / 0.5637 GB, free: 31.52 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.001028/0.4605, allocations: 0.7085 MB / 0.5644 GB, free: 30.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4605, allocations: 15 kB / 0.5644 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.4606, allocations: 46.25 kB / 0.5645 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.4611, allocations: 373 kB / 0.5648 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4611, allocations: 21.42 kB / 0.5649 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.4611, allocations: 22.56 kB / 0.5649 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.4615, allocations: 201.6 kB / 0.5651 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4616, allocations: 0.625 kB / 0.5651 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4616, allocations: 14.66 kB / 0.5651 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4616, allocations: 6.125 kB / 0.5651 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.462, allocations: 169.5 kB / 0.5653 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.4632, allocations: 0.8563 MB / 0.5661 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.4635, allocations: 163.7 kB / 0.5662 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.4637, allocations: 114.8 kB / 0.5664 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4638, allocations: 1.75 kB / 0.5664 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4638, allocations: 35.16 kB / 0.5664 GB, free: 29.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4638, allocations: 0 / 0.5664 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006256/0.4645, allocations: 253 kB / 0.5666 GB, free: 29.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4645, allocations: 59 kB / 0.5667 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.465, allocations: 418.5 kB / 0.5671 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.465, allocations: 26.73 kB / 0.5671 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4652, allocations: 208.2 kB / 0.5673 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.4652, allocations: 63.62 kB / 0.5674 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.4653, allocations: 32.38 kB / 0.5674 GB, free: 29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.4654, allocations: 348.9 kB / 0.5677 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4656, allocations: 56.83 kB / 0.5678 GB, free: 28.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4657, allocations: 56.5 kB / 0.5678 GB, free: 28.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.466, allocations: 136.8 kB / 0.568 GB, free: 28.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.466, allocations: 1.188 kB / 0.568 GB, free: 28.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003734/0.4664, allocations: 210.7 kB / 0.5682 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4664, allocations: 8.031 kB / 0.5682 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4664, allocations: 0 / 0.5682 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4664, allocations: 6.031 kB / 0.5682 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.4667, allocations: 56.22 kB / 0.5682 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4667, allocations: 1.062 kB / 0.5682 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.4669, allocations: 24.62 kB / 0.5683 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4669, allocations: 4.906 kB / 0.5683 GB, free: 28.46 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.0001431/0.4671, allocations: 165.5 kB / 0.5684 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.4671, allocations: 40.94 kB / 0.5685 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.4672, allocations: 46.3 kB / 0.5685 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4672, allocations: 2.75 kB / 0.5685 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4672, allocations: 3.938 kB / 0.5685 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4672, allocations: 1.984 kB / 0.5685 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.4677, allocations: 374.5 kB / 0.5689 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4677, allocations: 2.656 kB / 0.5689 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.4679, allocations: 55.09 kB / 0.5689 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.468, allocations: 1.219 kB / 0.5689 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.468, allocations: 6.344 kB / 0.5689 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.468, allocations: 1.25 kB / 0.5689 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.468, allocations: 1.188 kB / 0.5689 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.4686, allocations: 375.8 kB / 0.5693 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.4687, allocations: 119.2 kB / 0.5694 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.4687, allocations: 5.625 kB / 0.5694 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.4689, allocations: 15.19 kB / 0.5694 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.469, allocations: 9.672 kB / 0.5694 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.469, allocations: 8 kB / 0.5695 GB, free: 27.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.4693, allocations: 299.9 kB / 0.5697 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4694, allocations: 1.125 kB / 0.5697 GB, free: 27.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.4697, allocations: 73.48 kB / 0.5698 GB, free: 27.45 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.0001393/0.4698, allocations: 109.7 kB / 0.5699 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.4702, allocations: 149 kB / 0.5701 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4702, allocations: 1.219 kB / 0.5701 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4704, allocations: 77.81 kB / 0.5701 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.4711, allocations: 92.22 kB / 0.5702 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4724, allocations: 0.9108 MB / 0.5711 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4727, allocations: 0.7939 MB / 0.5719 GB, free: 25.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.4728, allocations: 24.94 kB / 0.5719 GB, free: 25.96 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4728, allocations: 0 / 0.5719 GB, free: 25.96 MB / 446.1 MB Notification: Performance of Templates: time 0.009683/0.4825, allocations: 4.35 MB / 0.5762 GB, free: 25.49 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)