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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.002331/0.002331, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.484/1.484, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.804/0.804, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 493.6 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4532, allocations: 76.17 MB / 0.5564 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003343/0.4566, allocations: 1.481 MB / 0.5579 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.4615, allocations: 2.963 MB / 0.5608 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.4616, allocations: 0 / 0.5608 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.4617, allocations: 1.734 kB / 0.5608 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.4617, allocations: 17.06 kB / 0.5608 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.4656, allocations: 1.378 MB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.4657, allocations: 40.09 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.4658, allocations: 3.219 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.4658, allocations: 16.95 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.4658, allocations: 17.91 kB / 0.5622 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.4659, allocations: 1.188 kB / 0.5622 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.4686, allocations: 1.434 MB / 0.5636 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.4686, allocations: 2.734 kB / 0.5636 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.4687, allocations: 20.12 kB / 0.5636 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.4702, allocations: 0.7682 MB / 0.5644 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4702, allocations: 0.5938 kB / 0.5644 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4702, allocations: 1.062 kB / 0.5644 GB, free: 32.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4702, allocations: 0.5312 kB / 0.5644 GB, free: 32.22 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.0006744/0.4709, allocations: 0.5187 MB / 0.5649 GB, free: 31.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.471, allocations: 15.22 kB / 0.5649 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.471, allocations: 81.97 kB / 0.565 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.4712, allocations: 248.3 kB / 0.5652 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.4712, allocations: 155.5 kB / 0.5654 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4713, allocations: 153.8 kB / 0.5655 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.787e-05/0.4713, allocations: 109.8 kB / 0.5656 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4713, allocations: 77.38 kB / 0.5657 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.4714, allocations: 151.8 kB / 0.5658 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.4714, allocations: 155.1 kB / 0.566 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.4715, allocations: 153.5 kB / 0.5661 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.4717, allocations: 465.9 kB / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.4718, allocations: 171 kB / 0.5667 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.4718, allocations: 82.22 kB / 0.5668 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4718, allocations: 80.47 kB / 0.5669 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4718, allocations: 111.7 kB / 0.567 GB, free: 29.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4718, allocations: 4.938 kB / 0.567 GB, free: 29.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.314e-05/0.4719, allocations: 33.05 kB / 0.567 GB, free: 29.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.472, allocations: 128.6 kB / 0.5672 GB, free: 29.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4721, allocations: 131.5 kB / 0.5673 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4721, allocations: 27.14 kB / 0.5673 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.4722, allocations: 95.48 kB / 0.5674 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.4722, allocations: 0 / 0.5674 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.4722, allocations: 17.75 kB / 0.5674 GB, free: 29.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.4723, allocations: 317.5 kB / 0.5677 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.4723, allocations: 8.578 kB / 0.5677 GB, free: 28.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.4724, allocations: 9.578 kB / 0.5677 GB, free: 28.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.4724, allocations: 10.3 kB / 0.5677 GB, free: 28.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4724, allocations: 0 / 0.5677 GB, free: 28.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.4726, allocations: 54 kB / 0.5678 GB, free: 28.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4726, allocations: 5.625 kB / 0.5678 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4726, allocations: 5.438 kB / 0.5678 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4726, allocations: 0 / 0.5678 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.4726, allocations: 3.938 kB / 0.5678 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4727, allocations: 1.609 kB / 0.5678 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.4727, allocations: 5.531 kB / 0.5678 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4727, allocations: 2.938 kB / 0.5678 GB, free: 28.69 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 7.728e-05/0.4728, allocations: 183.5 kB / 0.568 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.4728, allocations: 110 kB / 0.5681 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.4729, allocations: 116.1 kB / 0.5682 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/0.4729, allocations: 182.6 kB / 0.5684 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/0.473, allocations: 179.4 kB / 0.5686 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/0.473, allocations: 182 kB / 0.5687 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4732, allocations: 414.6 kB / 0.5691 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/0.4732, allocations: 110.9 kB / 0.5692 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.4732, allocations: 110.1 kB / 0.5693 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.272e-05/0.4733, allocations: 179.7 kB / 0.5695 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.4733, allocations: 184 kB / 0.5697 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.484e-05/0.4734, allocations: 178.8 kB / 0.5699 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.869e-05/0.4734, allocations: 185.3 kB / 0.57 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.4735, allocations: 304.6 kB / 0.5703 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.4736, allocations: 193.4 kB / 0.5705 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.4736, allocations: 186.6 kB / 0.5707 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.4737, allocations: 108.5 kB / 0.5708 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4737, allocations: 182.1 kB / 0.571 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4738, allocations: 103.4 kB / 0.5711 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.4738, allocations: 99.42 kB / 0.5712 GB, free: 25.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4738, allocations: 1.062 kB / 0.5712 GB, free: 25.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001053/0.4749, allocations: 282.6 kB / 0.5714 GB, free: 25.07 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.001206/0.4761, allocations: 0.5187 MB / 0.5719 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.4762, allocations: 34.64 kB / 0.572 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4762, allocations: 5.656 kB / 0.572 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.4763, allocations: 0 / 0.572 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4766, allocations: 0.5344 MB / 0.5725 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.4769, allocations: 275 kB / 0.5728 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.4771, allocations: 0.6848 MB / 0.5734 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.4771, allocations: 9.281 kB / 0.5734 GB, free: 23.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4771, allocations: 1.062 kB / 0.5734 GB, free: 23.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01265/0.4898, allocations: 4.628 MB / 0.578 GB, free: 22.85 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)