Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001309/0.001309, allocations: 196 kB / 17.98 MB, free: 5.031 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004544/0.3098, allocations: 4.114 MB / 0.5616 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.3129, allocations: 2.415 MB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.3132, allocations: 14.59 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3147, allocations: 0.5412 MB / 0.5645 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.3152, allocations: 251.1 kB / 0.5648 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3155, allocations: 135.4 kB / 0.5649 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.3162, allocations: 0.8103 MB / 0.5657 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.3166, allocations: 330.3 kB / 0.566 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.317, allocations: 291.2 kB / 0.5663 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.3173, allocations: 332.8 kB / 0.5666 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.3174, allocations: 75.34 kB / 0.5667 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3176, allocations: 75.38 kB / 0.5667 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3177, allocations: 172.3 kB / 0.5669 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.318, allocations: 380 kB / 0.5673 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008619/0.3189, allocations: 0.9964 MB / 0.5682 GB, free: 29.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3189, allocations: 0 / 0.5682 GB, free: 29.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3189, allocations: 1.688 kB / 0.5682 GB, free: 29.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.319, allocations: 0 / 0.5682 GB, free: 29.85 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001334/0.3203, allocations: 0.9493 MB / 0.5692 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3203, allocations: 10.19 kB / 0.5692 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3205, allocations: 72.72 kB / 0.5693 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.3211, allocations: 459.2 kB / 0.5697 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3211, allocations: 37.3 kB / 0.5697 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.3212, allocations: 52.03 kB / 0.5698 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.3219, allocations: 429.7 kB / 0.5702 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3219, allocations: 0.7031 kB / 0.5702 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.322, allocations: 20.56 kB / 0.5702 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.322, allocations: 11.34 kB / 0.5702 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.3227, allocations: 370 kB / 0.5706 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.3246, allocations: 1.525 MB / 0.5721 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.3251, allocations: 338.2 kB / 0.5724 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.3256, allocations: 324.1 kB / 0.5727 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3256, allocations: 6.297 kB / 0.5727 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.3257, allocations: 44.94 kB / 0.5727 GB, free: 27.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.3257, allocations: 1.156 kB / 0.5727 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009165/0.3266, allocations: 495.5 kB / 0.5732 GB, free: 26.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3266, allocations: 56.31 kB / 0.5733 GB, free: 26.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.3272, allocations: 487.9 kB / 0.5737 GB, free: 26.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3272, allocations: 30.92 kB / 0.5738 GB, free: 26.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3274, allocations: 271.8 kB / 0.574 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.3275, allocations: 152.7 kB / 0.5742 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.3276, allocations: 62.81 kB / 0.5742 GB, free: 26.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.3276, allocations: 360.4 kB / 0.5746 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.3279, allocations: 123.6 kB / 0.5747 GB, free: 25.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3281, allocations: 135.6 kB / 0.5748 GB, free: 25.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.3286, allocations: 294.9 kB / 0.5751 GB, free: 25.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3286, allocations: 1.375 kB / 0.5751 GB, free: 25.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005952/0.3292, allocations: 397.3 kB / 0.5755 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3292, allocations: 6.438 kB / 0.5755 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3293, allocations: 0.75 kB / 0.5755 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3293, allocations: 2.781 kB / 0.5755 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.3298, allocations: 124.9 kB / 0.5756 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3298, allocations: 1.375 kB / 0.5756 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.3301, allocations: 37.75 kB / 0.5756 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3301, allocations: 16.41 kB / 0.5757 GB, free: 25.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 (46): * Single equations (assignments): 46 * 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.0001804/0.3303, allocations: 201 kB / 0.5759 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.3303, allocations: 51.97 kB / 0.5759 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.796e-05/0.3305, allocations: 61.2 kB / 0.576 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3305, allocations: 5.094 kB / 0.576 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3305, allocations: 0 / 0.576 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3305, allocations: 2.156 kB / 0.576 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.3311, allocations: 0.5786 MB / 0.5765 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3311, allocations: 2.438 kB / 0.5765 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.3316, allocations: 127.3 kB / 0.5767 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3316, allocations: 5.5 kB / 0.5767 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3317, allocations: 7 kB / 0.5767 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3317, allocations: 1.094 kB / 0.5767 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3317, allocations: 2.125 kB / 0.5767 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.3326, allocations: 0.6518 MB / 0.5773 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3327, allocations: 141.7 kB / 0.5774 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.3327, allocations: 17.61 kB / 0.5775 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.333, allocations: 10 kB / 0.5775 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.333, allocations: 25.12 kB / 0.5775 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3331, allocations: 10.34 kB / 0.5775 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.3334, allocations: 356 kB / 0.5778 GB, free: 24.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3334, allocations: 0 / 0.5778 GB, free: 24.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000417/0.3339, allocations: 144.6 kB / 0.578 GB, free: 24.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001091/0.334, allocations: 112.6 kB / 0.5781 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.3346, allocations: 322.4 kB / 0.5784 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3346, allocations: 1.469 kB / 0.5784 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.3348, allocations: 175.7 kB / 0.5786 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.3355, allocations: 134.1 kB / 0.5787 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3372, allocations: 1.188 MB / 0.5799 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3376, allocations: 0.8726 MB / 0.5807 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.3378, allocations: 55.59 kB / 0.5808 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.3379, allocations: 36.39 kB / 0.5808 GB, free: 22.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3379, allocations: 4 kB / 0.5808 GB, free: 22.39 MB / 446.1 MB Notification: Performance of Templates: time 0.01155/0.3495, allocations: 5.922 MB / 0.5866 GB, free: 20.83 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)