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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001328, 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.4672/0.4672, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.404/1.404, allocations: 222.9 MB / 349.1 MB, free: 2.766 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.00135/0.00135, allocations: 103.3 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 55.91 kB / 0.4891 GB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4044, 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.InternalResistancesTwoUTubeNegative): time 0.003021/0.4075, allocations: 1.491 MB / 0.559 GB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.4114, allocations: 3.009 MB / 0.5619 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.4115, allocations: 0 / 0.5619 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.4116, allocations: 3.984 kB / 0.5619 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.4116, allocations: 15.86 kB / 0.562 GB, free: 40.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.4147, allocations: 1.399 MB / 0.5633 GB, free: 39.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.4148, allocations: 39.75 kB / 0.5634 GB, free: 39.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.4149, allocations: 3.984 kB / 0.5634 GB, free: 39.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.4149, allocations: 15.94 kB / 0.5634 GB, free: 39.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.4149, allocations: 15.88 kB / 0.5634 GB, free: 39.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.4149, allocations: 0 / 0.5634 GB, free: 39.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.4165, allocations: 1.474 MB / 0.5648 GB, free: 37.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.4166, allocations: 7.938 kB / 0.5649 GB, free: 37.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.4166, allocations: 15.88 kB / 0.5649 GB, free: 37.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.4177, allocations: 1.117 MB / 0.566 GB, free: 36.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4177, allocations: 0 / 0.566 GB, free: 36.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4177, allocations: 4 kB / 0.566 GB, free: 36.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4177, allocations: 0 / 0.566 GB, free: 36.59 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.0004472/0.4181, allocations: 0.5206 MB / 0.5665 GB, free: 36.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4182, allocations: 16.03 kB / 0.5665 GB, free: 36.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.4182, allocations: 80.12 kB / 0.5666 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.4183, allocations: 253.6 kB / 0.5668 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.4184, allocations: 150.9 kB / 0.5669 GB, free: 35.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.4184, allocations: 158.9 kB / 0.5671 GB, free: 35.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.157e-05/0.4184, allocations: 109.1 kB / 0.5672 GB, free: 35.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4185, allocations: 79.28 kB / 0.5673 GB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.4185, allocations: 150.6 kB / 0.5674 GB, free: 35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.4185, allocations: 150.6 kB / 0.5676 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.4185, allocations: 154.5 kB / 0.5677 GB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.4187, allocations: 465.9 kB / 0.5682 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.4188, allocations: 173.1 kB / 0.5683 GB, free: 34.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.4188, allocations: 80.14 kB / 0.5684 GB, free: 33.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4188, allocations: 75.28 kB / 0.5685 GB, free: 33.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4189, allocations: 117.7 kB / 0.5686 GB, free: 33.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4189, allocations: 0 / 0.5686 GB, free: 33.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.871e-05/0.4189, allocations: 37.61 kB / 0.5686 GB, free: 33.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.419, allocations: 126.7 kB / 0.5687 GB, free: 33.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4191, allocations: 129.8 kB / 0.5689 GB, free: 33.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.4191, allocations: 25.7 kB / 0.5689 GB, free: 33.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.4191, allocations: 92.12 kB / 0.569 GB, free: 33.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.4191, allocations: 0 / 0.569 GB, free: 33.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.4192, allocations: 17.72 kB / 0.569 GB, free: 33.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.4192, allocations: 322.8 kB / 0.5693 GB, free: 32.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.4193, allocations: 8 kB / 0.5693 GB, free: 32.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.4193, allocations: 4 kB / 0.5693 GB, free: 32.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.4193, allocations: 16.8 kB / 0.5693 GB, free: 32.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4193, allocations: 64 / 0.5693 GB, free: 32.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.4194, allocations: 61.53 kB / 0.5694 GB, free: 32.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4195, allocations: 4 kB / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.4195, allocations: 4 kB / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4195, allocations: 0 / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.4195, allocations: 0 / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4195, allocations: 4.062 kB / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.4195, allocations: 0 / 0.5694 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4196, allocations: 7.938 kB / 0.5694 GB, free: 32.83 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 5.764e-05/0.4196, allocations: 181.1 kB / 0.5696 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.4197, allocations: 120.8 kB / 0.5697 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.4197, allocations: 112.8 kB / 0.5698 GB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.4197, allocations: 180.3 kB / 0.57 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/0.4198, allocations: 184.2 kB / 0.5701 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.4198, allocations: 176.3 kB / 0.5703 GB, free: 31.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.4199, allocations: 421.2 kB / 0.5707 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.4199, allocations: 108.9 kB / 0.5708 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.42, allocations: 101.1 kB / 0.5709 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.42, allocations: 192.2 kB / 0.5711 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.42, allocations: 176.3 kB / 0.5713 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/0.4201, allocations: 188.2 kB / 0.5714 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.443e-05/0.4201, allocations: 176.3 kB / 0.5716 GB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.4203, allocations: 0.8647 MB / 0.5725 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.4204, allocations: 186.1 kB / 0.5726 GB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.4204, allocations: 176.3 kB / 0.5728 GB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.4205, allocations: 104.9 kB / 0.5729 GB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4205, allocations: 180.3 kB / 0.5731 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.4206, allocations: 112.9 kB / 0.5732 GB, free: 28.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.4206, allocations: 100.8 kB / 0.5733 GB, free: 28.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4206, allocations: 0 / 0.5733 GB, free: 28.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000715/0.4213, allocations: 295.7 kB / 0.5736 GB, free: 28.3 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.0009597/0.4223, allocations: 0.5343 MB / 0.5741 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.4224, allocations: 37.7 kB / 0.5741 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4224, allocations: 0 / 0.5741 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.4224, allocations: 4 kB / 0.5741 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4228, allocations: 0.5323 MB / 0.5746 GB, free: 27.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.423, allocations: 245.8 kB / 0.5749 GB, free: 26.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4232, allocations: 0.6887 MB / 0.5756 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.4232, allocations: 0 / 0.5756 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-06/0.4232, allocations: 15.38 kB / 0.5756 GB, free: 26.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4232, allocations: 0 / 0.5756 GB, free: 26.18 MB / 410.7 MB Notification: Performance of Templates: time 0.007505/0.4307, allocations: 5.698 MB / 0.5811 GB, free: 20.53 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)