Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001252/0.001252, allocations: 108.8 kB / 16.41 MB, free: 6.449 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.001303/0.001303, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 293.7 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 100.3 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4315, allocations: 86.97 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004539/0.436, allocations: 3.023 MB / 0.7701 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.4395, allocations: 2.152 MB / 0.7722 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.4397, allocations: 8 kB / 0.7722 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.4412, allocations: 0.4921 MB / 0.7726 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.4416, allocations: 150.9 kB / 0.7728 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.4417, allocations: 63.92 kB / 0.7728 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.4423, allocations: 445.9 kB / 0.7733 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.4425, allocations: 107.3 kB / 0.7734 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.4427, allocations: 163.3 kB / 0.7735 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.443, allocations: 175.2 kB / 0.7737 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.443, allocations: 36 kB / 0.7737 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.4431, allocations: 36 kB / 0.7738 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.4432, allocations: 103.6 kB / 0.7739 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.4434, allocations: 218.9 kB / 0.7741 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.4441, allocations: 0.5447 MB / 0.7746 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4441, allocations: 0 / 0.7746 GB, free: 12.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4441, allocations: 0 / 0.7746 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4441, allocations: 0 / 0.7746 GB, free: 12.35 MB / 0.545 GB 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.001211/0.4453, allocations: 0.7236 MB / 0.7753 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4453, allocations: 8.031 kB / 0.7753 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.4454, allocations: 48.66 kB / 0.7754 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.446, allocations: 386.4 kB / 0.7757 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.446, allocations: 12.81 kB / 0.7757 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4461, allocations: 20.38 kB / 0.7758 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.4466, allocations: 207.6 kB / 0.776 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4466, allocations: 0 / 0.776 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.4466, allocations: 11.94 kB / 0.776 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4466, allocations: 7.984 kB / 0.776 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.447, allocations: 165.6 kB / 0.7761 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.4484, allocations: 0.8664 MB / 0.777 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.4488, allocations: 146.5 kB / 0.7771 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.449, allocations: 100.8 kB / 0.7772 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.449, allocations: 0 / 0.7772 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.449, allocations: 38.88 kB / 0.7773 GB, free: 9.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.449, allocations: 0 / 0.7773 GB, free: 9.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006561/0.4497, allocations: 255.7 kB / 0.7775 GB, free: 9.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4497, allocations: 59.34 kB / 0.7776 GB, free: 9.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.4503, allocations: 417.7 kB / 0.778 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4503, allocations: 25.7 kB / 0.778 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4505, allocations: 216.3 kB / 0.7782 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.4506, allocations: 63.44 kB / 0.7782 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.4506, allocations: 33.7 kB / 0.7783 GB, free: 8.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.4508, allocations: 346.8 kB / 0.7786 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.451, allocations: 55.97 kB / 0.7787 GB, free: 7.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4511, allocations: 58.72 kB / 0.7787 GB, free: 7.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.4514, allocations: 136.7 kB / 0.7789 GB, free: 7.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4514, allocations: 0 / 0.7789 GB, free: 7.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004351/0.4519, allocations: 215.7 kB / 0.7791 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4519, allocations: 4 kB / 0.7791 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4519, allocations: 3.938 kB / 0.7791 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4519, allocations: 7.938 kB / 0.7791 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.4522, allocations: 47.97 kB / 0.7791 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4522, allocations: 7.984 kB / 0.7791 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.4524, allocations: 23.84 kB / 0.7791 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4524, allocations: 4 kB / 0.7792 GB, free: 7.449 MB / 0.545 GB 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.0002029/0.4526, allocations: 168.2 kB / 0.7793 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.4527, allocations: 35.77 kB / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.4527, allocations: 43.53 kB / 0.7794 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4527, allocations: 3.984 kB / 0.7794 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4528, allocations: 4 kB / 0.7794 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4528, allocations: 7.984 kB / 0.7794 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.4533, allocations: 369.4 kB / 0.7798 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4533, allocations: 0 / 0.7798 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.4535, allocations: 51.97 kB / 0.7798 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4535, allocations: 4 kB / 0.7798 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4535, allocations: 3.938 kB / 0.7798 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4536, allocations: 3.984 kB / 0.7798 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4536, allocations: 0 / 0.7798 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.4543, allocations: 383.1 kB / 0.7802 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.4544, allocations: 120.9 kB / 0.7803 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.4544, allocations: 3.938 kB / 0.7803 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4546, allocations: 11.98 kB / 0.7803 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4546, allocations: 15.89 kB / 0.7803 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4547, allocations: 8 kB / 0.7803 GB, free: 6.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003609/0.455, allocations: 303.2 kB / 0.7806 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.455, allocations: 4 kB / 0.7806 GB, free: 5.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003246/0.4553, allocations: 75.89 kB / 0.7807 GB, free: 5.77 MB / 0.545 GB 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 0.0001573/0.4555, allocations: 107.2 kB / 0.7808 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.4559, allocations: 131.1 kB / 0.7809 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4559, allocations: 0 / 0.7809 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.4561, allocations: 83.89 kB / 0.781 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.4566, allocations: 83.33 kB / 0.7811 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.458, allocations: 0.768 MB / 0.7818 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.4585, allocations: 0.795 MB / 0.7826 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.4586, allocations: 38.91 kB / 0.7827 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.4587, allocations: 23.44 kB / 0.7827 GB, free: 3.691 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.4587, allocations: 4 kB / 0.7827 GB, free: 3.688 MB / 0.545 GB Notification: Performance of Templates: time 0.009432/0.4681, allocations: 4.029 MB / 0.7866 GB, free: 15.78 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)