Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108.3 kB / 17.04 MB, free: 5.812 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.001199/0.001199, allocations: 195 kB / 17.98 MB, free: 5.027 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.24/1.24, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6733/0.6733, allocations: 115.1 MB / 407 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 494.9 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 76.14 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003734/0.3122, allocations: 3.004 MB / 0.5605 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3147, allocations: 2.149 MB / 0.5626 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.315, allocations: 6.594 kB / 0.5627 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.3163, allocations: 0.4891 MB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.3166, allocations: 153.4 kB / 0.5633 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.3168, allocations: 57.5 kB / 0.5633 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.3173, allocations: 457 kB / 0.5638 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.3175, allocations: 160.1 kB / 0.5639 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3177, allocations: 158.2 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3179, allocations: 182.7 kB / 0.5642 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.318, allocations: 34.22 kB / 0.5643 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.318, allocations: 35.59 kB / 0.5643 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.3181, allocations: 94.39 kB / 0.5644 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3183, allocations: 217.9 kB / 0.5646 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3188, allocations: 0.5528 MB / 0.5651 GB, free: 31.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3188, allocations: 0.7031 kB / 0.5651 GB, free: 31.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3188, allocations: 2.562 kB / 0.5652 GB, free: 31.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3188, allocations: 0 / 0.5652 GB, free: 31.95 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008651/0.3197, allocations: 0.6972 MB / 0.5658 GB, free: 31.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3197, allocations: 11.09 kB / 0.5658 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.3198, allocations: 46.16 kB / 0.5659 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.3202, allocations: 382 kB / 0.5663 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3202, allocations: 17.38 kB / 0.5663 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.3203, allocations: 17.72 kB / 0.5663 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.3206, allocations: 207.9 kB / 0.5665 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3207, allocations: 0 / 0.5665 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3207, allocations: 10.06 kB / 0.5665 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3207, allocations: 5.25 kB / 0.5665 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.321, allocations: 161.2 kB / 0.5667 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.322, allocations: 0.864 MB / 0.5675 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3223, allocations: 152.2 kB / 0.5676 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3225, allocations: 116.8 kB / 0.5678 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3225, allocations: 3.125 kB / 0.5678 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3225, allocations: 32.69 kB / 0.5678 GB, free: 30.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.3225, allocations: 5.969 kB / 0.5678 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005118/0.3231, allocations: 251.5 kB / 0.568 GB, free: 30.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.3231, allocations: 61.38 kB / 0.5681 GB, free: 29.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3235, allocations: 414.9 kB / 0.5685 GB, free: 29.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3235, allocations: 30.64 kB / 0.5685 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.3236, allocations: 208.1 kB / 0.5687 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3237, allocations: 61.69 kB / 0.5688 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3237, allocations: 34.7 kB / 0.5688 GB, free: 29.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.3238, allocations: 348.9 kB / 0.5691 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3239, allocations: 57.06 kB / 0.5692 GB, free: 29.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3241, allocations: 60.3 kB / 0.5693 GB, free: 29.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3243, allocations: 135.6 kB / 0.5694 GB, free: 29.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3243, allocations: 0.5 kB / 0.5694 GB, free: 29.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000322/0.3247, allocations: 205.8 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3247, allocations: 6.031 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3247, allocations: 0.9688 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3247, allocations: 6.109 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3249, allocations: 59.39 kB / 0.5696 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.325, allocations: 1.844 kB / 0.5696 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3251, allocations: 15.66 kB / 0.5697 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3251, allocations: 13.59 kB / 0.5697 GB, free: 28.9 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 (20): * Single equations (assignments): 20 * 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.0001237/0.3252, allocations: 161.5 kB / 0.5698 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.3253, allocations: 36.53 kB / 0.5699 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3254, allocations: 46.14 kB / 0.5699 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3254, allocations: 1.562 kB / 0.5699 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3254, allocations: 0.8438 kB / 0.5699 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3254, allocations: 2.594 kB / 0.5699 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3257, allocations: 373.8 kB / 0.5703 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3257, allocations: 3.234 kB / 0.5703 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.326, allocations: 54.88 kB / 0.5703 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.326, allocations: 1.062 kB / 0.5703 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.326, allocations: 9.562 kB / 0.5703 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.326, allocations: 2.344 kB / 0.5703 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.326, allocations: 0 / 0.5703 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.3265, allocations: 377 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.3266, allocations: 114.8 kB / 0.5708 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3267, allocations: 19.53 kB / 0.5708 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3268, allocations: 10.17 kB / 0.5708 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3269, allocations: 10.05 kB / 0.5708 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3269, allocations: 5.75 kB / 0.5708 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.3272, allocations: 303.3 kB / 0.5711 GB, free: 27.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3272, allocations: 1 kB / 0.5711 GB, free: 27.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3275, allocations: 72.09 kB / 0.5712 GB, free: 27.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 9.808e-05/0.3276, allocations: 107.3 kB / 0.5713 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.3279, allocations: 145.5 kB / 0.5714 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3279, allocations: 3.938 kB / 0.5715 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3281, allocations: 79.42 kB / 0.5715 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3286, allocations: 101.8 kB / 0.5716 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3296, allocations: 0.751 MB / 0.5724 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3298, allocations: 0.7979 MB / 0.5731 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.33, allocations: 34.78 kB / 0.5732 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.33, allocations: 24.06 kB / 0.5732 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.33, allocations: 1.062 kB / 0.5732 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.007951/0.338, allocations: 3.95 MB / 0.5771 GB, free: 26.33 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)