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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 88.86 kB / 16.67 MB, free: 6.59 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.001124/0.001124, allocations: 182.1 kB / 17.58 MB, free: 6.188 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.447/1.447, allocations: 223.3 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7611/0.7611, allocations: 115.5 MB / 408.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 15.98 kB / 496.6 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4793, allocations: 77.51 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001539/0.4809, allocations: 1.155 MB / 0.5618 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.4852, allocations: 2.936 MB / 0.5646 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.4853, allocations: 1.188 kB / 0.5646 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.4854, allocations: 2.062 kB / 0.5646 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.4854, allocations: 18.78 kB / 0.5647 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.489, allocations: 1.389 MB / 0.566 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.4891, allocations: 44.88 kB / 0.566 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4892, allocations: 4.797 kB / 0.5661 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.4892, allocations: 16.08 kB / 0.5661 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.4892, allocations: 18.59 kB / 0.5661 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4892, allocations: 1.031 kB / 0.5661 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.4919, allocations: 1.47 MB / 0.5675 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.4919, allocations: 10.22 kB / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.492, allocations: 50.44 kB / 0.5676 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.4935, allocations: 0.7836 MB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4935, allocations: 0 / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4935, allocations: 0.6875 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4935, allocations: 2.312 kB / 0.5684 GB, free: 32.04 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005967/0.4941, allocations: 0.5075 MB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4941, allocations: 15.42 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.4942, allocations: 87.22 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.4943, allocations: 249.3 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.4944, allocations: 157.6 kB / 0.5693 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.4944, allocations: 154.9 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.62e-05/0.4944, allocations: 109.3 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4945, allocations: 75.28 kB / 0.5697 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.4945, allocations: 150.6 kB / 0.5698 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4945, allocations: 153.9 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.4946, allocations: 152.3 kB / 0.5701 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.4948, allocations: 462 kB / 0.5705 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.4949, allocations: 171.9 kB / 0.5707 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.4949, allocations: 80.67 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4949, allocations: 75.97 kB / 0.5708 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4949, allocations: 118.8 kB / 0.571 GB, free: 29.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.495, allocations: 0 / 0.571 GB, free: 29.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.912e-05/0.495, allocations: 37.19 kB / 0.571 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.4951, allocations: 127.2 kB / 0.5711 GB, free: 29.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.4952, allocations: 136.5 kB / 0.5712 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.4952, allocations: 25.7 kB / 0.5713 GB, free: 29.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.4953, allocations: 92.61 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.4953, allocations: 3.562 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.4953, allocations: 16.12 kB / 0.5714 GB, free: 28.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.4954, allocations: 314.6 kB / 0.5717 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.4954, allocations: 7.406 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.4954, allocations: 8.938 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.4955, allocations: 15.22 kB / 0.5717 GB, free: 28.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4955, allocations: 1.406 kB / 0.5717 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.4956, allocations: 59.52 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4956, allocations: 5.375 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4956, allocations: 3.594 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4957, allocations: 0 / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.4957, allocations: 1.203 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4957, allocations: 2 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.4957, allocations: 4.875 kB / 0.5718 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4957, allocations: 7.328 kB / 0.5718 GB, free: 28.51 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 (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.865e-05/0.4958, allocations: 183.8 kB / 0.572 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.4958, allocations: 117 kB / 0.5721 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.4959, allocations: 118.6 kB / 0.5722 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.4959, allocations: 178.7 kB / 0.5724 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.195e-05/0.496, allocations: 181 kB / 0.5725 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.496, allocations: 179.1 kB / 0.5727 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4961, allocations: 416 kB / 0.5731 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.4962, allocations: 113.6 kB / 0.5732 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.4962, allocations: 106.7 kB / 0.5733 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.927e-05/0.4962, allocations: 186.9 kB / 0.5735 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.4963, allocations: 180.2 kB / 0.5737 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-05/0.4963, allocations: 176.8 kB / 0.5738 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.723e-05/0.4963, allocations: 187.9 kB / 0.574 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.914e-05/0.4964, allocations: 307.7 kB / 0.5743 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.4964, allocations: 190 kB / 0.5745 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.4965, allocations: 183.5 kB / 0.5747 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.4966, allocations: 108.1 kB / 0.5748 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.4966, allocations: 178.4 kB / 0.5749 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.4966, allocations: 111 kB / 0.575 GB, free: 25.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.4967, allocations: 100 kB / 0.5751 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4967, allocations: 0 / 0.5751 GB, free: 24.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.4976, allocations: 292.5 kB / 0.5754 GB, free: 24.88 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 (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.001133/0.4988, allocations: 0.5276 MB / 0.5759 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.4989, allocations: 41.3 kB / 0.576 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4989, allocations: 0 / 0.576 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.4989, allocations: 1.031 kB / 0.576 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4992, allocations: 0.5298 MB / 0.5765 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.4996, allocations: 291.4 kB / 0.5768 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4997, allocations: 0.6833 MB / 0.5774 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-06/0.4997, allocations: 8.688 kB / 0.5774 GB, free: 23.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4997, allocations: 0 / 0.5774 GB, free: 23.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01154/0.5113, allocations: 4.747 MB / 0.5821 GB, free: 22.67 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)