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.001257/0.001257, allocations: 110.9 kB / 17.03 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.001243/0.001243, allocations: 196 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6881/0.6881, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 494.9 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2988, allocations: 76.15 MB / 0.5576 GB, free: 36.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004497/0.3034, allocations: 4.113 MB / 0.5616 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3061, allocations: 2.415 MB / 0.564 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.3063, allocations: 10.03 kB / 0.564 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3077, allocations: 0.5379 MB / 0.5645 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.3081, allocations: 253.7 kB / 0.5648 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3083, allocations: 134.5 kB / 0.5649 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.3089, allocations: 0.8158 MB / 0.5657 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3093, allocations: 329.9 kB / 0.566 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.3096, allocations: 290.7 kB / 0.5663 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.3099, allocations: 324.5 kB / 0.5666 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.31, allocations: 74.53 kB / 0.5667 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3101, allocations: 75.31 kB / 0.5667 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3103, allocations: 177.6 kB / 0.5669 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.3106, allocations: 388.2 kB / 0.5673 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.3114, allocations: 0.9921 MB / 0.5682 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3114, allocations: 0 / 0.5682 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3114, allocations: 1.312 kB / 0.5682 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3114, allocations: 0 / 0.5682 GB, free: 30.09 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.001193/0.3126, allocations: 0.9534 MB / 0.5692 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.3126, allocations: 9.375 kB / 0.5692 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.3127, allocations: 73.7 kB / 0.5693 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.3133, allocations: 458.2 kB / 0.5697 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3133, allocations: 37.39 kB / 0.5697 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.3134, allocations: 60.17 kB / 0.5698 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.314, allocations: 430.6 kB / 0.5702 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3141, allocations: 1 kB / 0.5702 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.3141, allocations: 20.25 kB / 0.5702 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3141, allocations: 11.12 kB / 0.5702 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.3147, allocations: 369.5 kB / 0.5706 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3165, allocations: 1.522 MB / 0.5721 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.317, allocations: 341 kB / 0.5724 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.3174, allocations: 324.7 kB / 0.5727 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3174, allocations: 5.156 kB / 0.5727 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.3175, allocations: 38.16 kB / 0.5727 GB, free: 27.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.3175, allocations: 1.375 kB / 0.5727 GB, free: 27.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008399/0.3183, allocations: 0.4915 MB / 0.5732 GB, free: 27.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3183, allocations: 56.22 kB / 0.5733 GB, free: 27.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.3188, allocations: 489.5 kB / 0.5737 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3189, allocations: 32.45 kB / 0.5738 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.319, allocations: 272.2 kB / 0.574 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.3191, allocations: 149.1 kB / 0.5742 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.3191, allocations: 64 kB / 0.5742 GB, free: 26.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.3192, allocations: 357.9 kB / 0.5746 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3194, allocations: 124 kB / 0.5747 GB, free: 26.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3197, allocations: 127.8 kB / 0.5748 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3201, allocations: 296.1 kB / 0.5751 GB, free: 25.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3201, allocations: 0 / 0.5751 GB, free: 25.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005471/0.3206, allocations: 397.7 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3207, allocations: 5.25 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3207, allocations: 5.234 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3207, allocations: 3.656 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.3212, allocations: 124.5 kB / 0.5756 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3212, allocations: 2.844 kB / 0.5756 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.3214, allocations: 36.27 kB / 0.5756 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3214, allocations: 14.94 kB / 0.5757 GB, free: 25.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 (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.0001609/0.3216, allocations: 197.4 kB / 0.5759 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.3217, allocations: 52.03 kB / 0.5759 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.3218, allocations: 57.72 kB / 0.576 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3218, allocations: 8.969 kB / 0.576 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3218, allocations: 1.594 kB / 0.576 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3218, allocations: 2.062 kB / 0.576 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3224, allocations: 0.5815 MB / 0.5765 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3224, allocations: 1.25 kB / 0.5765 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3229, allocations: 129 kB / 0.5767 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3229, allocations: 4.906 kB / 0.5767 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3229, allocations: 11.72 kB / 0.5767 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3229, allocations: 1.75 kB / 0.5767 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3229, allocations: 0.5625 kB / 0.5767 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.3237, allocations: 0.6501 MB / 0.5773 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.3238, allocations: 140.5 kB / 0.5774 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.3239, allocations: 10.38 kB / 0.5775 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3241, allocations: 13.86 kB / 0.5775 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.3242, allocations: 24.12 kB / 0.5775 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3242, allocations: 7.109 kB / 0.5775 GB, free: 24.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003341/0.3245, allocations: 354.2 kB / 0.5778 GB, free: 24.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3245, allocations: 0 / 0.5778 GB, free: 24.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.3249, allocations: 145.6 kB / 0.578 GB, free: 24.36 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 9.929e-05/0.325, allocations: 113 kB / 0.5781 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.3256, allocations: 329.2 kB / 0.5784 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3256, allocations: 1.406 kB / 0.5784 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.3259, allocations: 173.5 kB / 0.5786 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.3264, allocations: 131.9 kB / 0.5787 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.328, allocations: 1.188 MB / 0.5799 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3283, allocations: 0.8753 MB / 0.5807 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.3285, allocations: 57.09 kB / 0.5808 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.3286, allocations: 34.84 kB / 0.5808 GB, free: 22.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3286, allocations: 0 / 0.5808 GB, free: 22.63 MB / 446.1 MB Notification: Performance of Templates: time 0.01045/0.3391, allocations: 5.925 MB / 0.5866 GB, free: 20.95 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)