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.InternalResistancesOneUTube.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4608/0.4608, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.86 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 47.92 kB / 0.4891 GB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4174, allocations: 70.06 MB / 0.5576 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002737/0.4202, allocations: 1.479 MB / 0.559 GB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.4238, allocations: 2.954 MB / 0.5619 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.4239, allocations: 2.875 kB / 0.5619 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.424, allocations: 7.922 kB / 0.5619 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.424, allocations: 7.922 kB / 0.5619 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.4269, allocations: 1.374 MB / 0.5632 GB, free: 39.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.427, allocations: 43.67 kB / 0.5633 GB, free: 39.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.427, allocations: 8 kB / 0.5633 GB, free: 39.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.4271, allocations: 11.94 kB / 0.5633 GB, free: 39.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.612e-05/0.4271, allocations: 15.92 kB / 0.5633 GB, free: 39.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4271, allocations: 0 / 0.5633 GB, free: 39.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.4287, allocations: 1.435 MB / 0.5647 GB, free: 37.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.4287, allocations: 7.938 kB / 0.5647 GB, free: 37.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.4288, allocations: 11.88 kB / 0.5647 GB, free: 37.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4298, allocations: 1.094 MB / 0.5658 GB, free: 36.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4298, allocations: 0 / 0.5658 GB, free: 36.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4298, allocations: 4 kB / 0.5658 GB, free: 36.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.4299, allocations: 0 / 0.5658 GB, free: 36.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004506/0.4303, allocations: 0.5185 MB / 0.5663 GB, free: 36.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4304, allocations: 8.031 kB / 0.5663 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.4304, allocations: 84.12 kB / 0.5664 GB, free: 36.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4305, allocations: 245.5 kB / 0.5666 GB, free: 35.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.4306, allocations: 166.9 kB / 0.5668 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.4306, allocations: 154.9 kB / 0.5669 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.785e-05/0.4307, allocations: 105.1 kB / 0.567 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4307, allocations: 75.28 kB / 0.5671 GB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.4307, allocations: 150.6 kB / 0.5673 GB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.4307, allocations: 154.5 kB / 0.5674 GB, free: 35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.4308, allocations: 154.6 kB / 0.5676 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.431, allocations: 469.9 kB / 0.568 GB, free: 34.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.431, allocations: 165.1 kB / 0.5682 GB, free: 34.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.431, allocations: 84.12 kB / 0.5682 GB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4311, allocations: 75.28 kB / 0.5683 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4311, allocations: 121.7 kB / 0.5684 GB, free: 33.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.4311, allocations: 0 / 0.5684 GB, free: 33.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.756e-05/0.4312, allocations: 33.61 kB / 0.5685 GB, free: 33.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.4312, allocations: 126.7 kB / 0.5686 GB, free: 33.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4313, allocations: 125.8 kB / 0.5687 GB, free: 33.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.4313, allocations: 25.7 kB / 0.5687 GB, free: 33.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.4314, allocations: 92.14 kB / 0.5688 GB, free: 33.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.4314, allocations: 4 kB / 0.5688 GB, free: 33.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.4314, allocations: 17.7 kB / 0.5688 GB, free: 33.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.4315, allocations: 322.8 kB / 0.5691 GB, free: 33.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.4315, allocations: 0 / 0.5691 GB, free: 33.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.4315, allocations: 11.98 kB / 0.5692 GB, free: 33.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.4315, allocations: 12.8 kB / 0.5692 GB, free: 33.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4316, allocations: 0 / 0.5692 GB, free: 33.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001108/0.4317, allocations: 53.55 kB / 0.5692 GB, free: 33.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4317, allocations: 5.562 kB / 0.5692 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.4317, allocations: 12.05 kB / 0.5692 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4317, allocations: 0 / 0.5692 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.4317, allocations: 0 / 0.5692 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4318, allocations: 0 / 0.5692 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.4318, allocations: 0 / 0.5692 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4318, allocations: 4 kB / 0.5692 GB, free: 32.99 MB / 410.7 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.589e-05/0.4319, allocations: 182.4 kB / 0.5694 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.4319, allocations: 116.8 kB / 0.5695 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.4319, allocations: 116.8 kB / 0.5696 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.432, allocations: 184.2 kB / 0.5698 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/0.432, allocations: 176.3 kB / 0.57 GB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.432, allocations: 176.3 kB / 0.5701 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4322, allocations: 417.2 kB / 0.5705 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.4322, allocations: 112.9 kB / 0.5707 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.4322, allocations: 109.1 kB / 0.5708 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/0.4323, allocations: 184.2 kB / 0.5709 GB, free: 31.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.4323, allocations: 180.3 kB / 0.5711 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.053e-05/0.4323, allocations: 180.2 kB / 0.5713 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-05/0.4324, allocations: 176.3 kB / 0.5714 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.4326, allocations: 0.8686 MB / 0.5723 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.4327, allocations: 186 kB / 0.5725 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.4327, allocations: 184.2 kB / 0.5726 GB, free: 29.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.4328, allocations: 112.9 kB / 0.5728 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.4328, allocations: 176.3 kB / 0.5729 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4328, allocations: 108.9 kB / 0.573 GB, free: 28.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.4329, allocations: 100.8 kB / 0.5731 GB, free: 28.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4329, allocations: 0 / 0.5731 GB, free: 28.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.4336, allocations: 295.6 kB / 0.5734 GB, free: 28.46 MB / 410.7 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 (0): * Single equations (assignments): 0 * 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.0009272/0.4345, allocations: 0.5153 MB / 0.5739 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.4346, allocations: 37.7 kB / 0.5739 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4346, allocations: 0 / 0.5739 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.4346, allocations: 0 / 0.5739 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.435, allocations: 0.5362 MB / 0.5745 GB, free: 27.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.4353, allocations: 241.9 kB / 0.5747 GB, free: 27.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4354, allocations: 0.6848 MB / 0.5754 GB, free: 26.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.271e-05/0.4354, allocations: 4 kB / 0.5754 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-06/0.4354, allocations: 7.438 kB / 0.5754 GB, free: 26.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4355, allocations: 4 kB / 0.5754 GB, free: 26.36 MB / 410.7 MB Notification: Performance of Templates: time 0.00749/0.4429, allocations: 5.479 MB / 0.5807 GB, free: 20.93 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)