Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001659/0.001659, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2098, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003144/0.213, allocations: 1.482 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2143, allocations: 0.9394 MB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.2144, allocations: 3.938 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2145, allocations: 39.83 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.2146, allocations: 23.78 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.2151, allocations: 201.6 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.2152, allocations: 47.67 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.2152, allocations: 4 kB / 0.7875 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.2153, allocations: 15.94 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.2153, allocations: 23.84 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.2153, allocations: 0 / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2157, allocations: 171.7 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2157, allocations: 7.984 kB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.2157, allocations: 15.88 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2159, allocations: 123.6 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2159, allocations: 0 / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2159, allocations: 4 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2159, allocations: 0 / 0.7878 GB, free: 60 kB / 0.6544 GB 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.3516/0.5675, allocations: 366 kB / 0.7882 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5675, allocations: 7.156 kB / 0.7882 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.5676, allocations: 78.81 kB / 0.7882 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5678, allocations: 267.6 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5679, allocations: 154.1 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.5679, allocations: 151.8 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.994e-05/0.5679, allocations: 103.2 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5679, allocations: 78.75 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.568, allocations: 157.8 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.568, allocations: 150.6 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.568, allocations: 156.6 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.5682, allocations: 464.1 kB / 0.7898 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.5683, allocations: 173.4 kB / 0.79 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.5683, allocations: 82.48 kB / 0.7901 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5683, allocations: 83.52 kB / 0.7902 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5683, allocations: 105.8 kB / 0.7903 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5683, allocations: 0 / 0.7903 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.499e-05/0.5684, allocations: 34.33 kB / 0.7903 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.506e-05/0.5684, allocations: 61 kB / 0.7904 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.5685, allocations: 136.5 kB / 0.7905 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.5686, allocations: 25.7 kB / 0.7905 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.5686, allocations: 93.39 kB / 0.7906 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5686, allocations: 0 / 0.7906 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.5686, allocations: 20.72 kB / 0.7906 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.5687, allocations: 314.1 kB / 0.7909 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.5687, allocations: 7.188 kB / 0.7909 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.5687, allocations: 7.125 kB / 0.7909 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.5688, allocations: 14.8 kB / 0.791 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5688, allocations: 0 / 0.791 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.5689, allocations: 49.86 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5689, allocations: 6.312 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5689, allocations: 6.781 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5689, allocations: 0.5938 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.5689, allocations: 0 / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.569, allocations: 0.5312 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.569, allocations: 6.203 kB / 0.791 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.569, allocations: 2.594 kB / 0.791 GB, free: 46.04 MB / 0.6544 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 (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 4.811e-05/0.569, allocations: 185.2 kB / 0.7912 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.5691, allocations: 116.3 kB / 0.7913 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.5691, allocations: 116.8 kB / 0.7914 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.5691, allocations: 178.2 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.5692, allocations: 104 kB / 0.7917 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.5692, allocations: 183.8 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.5692, allocations: 183 kB / 0.792 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.5693, allocations: 113.1 kB / 0.7921 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.5693, allocations: 177.5 kB / 0.7923 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.231e-05/0.5694, allocations: 257.5 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.301e-05/0.5694, allocations: 388.9 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.098e-05/0.5695, allocations: 108.7 kB / 0.793 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.5695, allocations: 103.8 kB / 0.7931 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of Backend: time 3e-07/0.5695, allocations: 0 / 0.7931 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.57, allocations: 157.9 kB / 0.7933 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004011/0.5704, allocations: 0.9029 MB / 0.7942 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003426/0.5738, allocations: 1.516 MB / 0.7956 GB, free: 42.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)