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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4778/0.4778, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008345, allocations: 99.34 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.253e-05, allocations: 4 kB / 0.4896 GB, free: 5.324 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3985, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5313, allocations: 112.1 MB / 0.6698 GB, free: 8.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5316, allocations: 111.9 kB / 0.6699 GB, free: 8.051 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05868/0.5903, allocations: 22.24 MB / 0.6916 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5903, allocations: 0 / 0.6916 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.5903, allocations: 12 kB / 0.6916 GB, free: 1.766 MB / 0.4948 GB 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.001202/0.5916, allocations: 0.7475 MB / 0.6923 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5916, allocations: 11.98 kB / 0.6923 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.5918, allocations: 75.06 kB / 0.6924 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.5924, allocations: 432.8 kB / 0.6928 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.5925, allocations: 33 kB / 0.6929 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.5926, allocations: 51.91 kB / 0.6929 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.5933, allocations: 406.6 kB / 0.6933 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5933, allocations: 0 / 0.6933 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.5934, allocations: 20 kB / 0.6933 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5934, allocations: 13.03 kB / 0.6933 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.594, allocations: 331.8 kB / 0.6936 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.5961, allocations: 1.543 MB / 0.6951 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.5966, allocations: 311 kB / 0.6954 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.597, allocations: 346.2 kB / 0.6958 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.597, allocations: 4 kB / 0.6958 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.597, allocations: 34.56 kB / 0.6958 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.874e-06/0.5971, allocations: 0 / 0.6958 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.000548/0.5976, allocations: 349 kB / 0.6961 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5977, allocations: 55.41 kB / 0.6962 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.5982, allocations: 431.1 kB / 0.6966 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.5982, allocations: 34.83 kB / 0.6966 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5984, allocations: 268.4 kB / 0.6969 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5985, allocations: 157.8 kB / 0.697 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.5985, allocations: 4 kB / 0.697 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5987, allocations: 358.8 kB / 0.6974 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.5989, allocations: 108.8 kB / 0.6975 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.5991, allocations: 117.2 kB / 0.6976 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5993, allocations: 126.3 kB / 0.6977 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5993, allocations: 0 / 0.6977 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005337/0.5998, allocations: 356.2 kB / 0.6981 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5999, allocations: 7.953 kB / 0.6981 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5999, allocations: 4 kB / 0.6981 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5999, allocations: 8.656 kB / 0.6981 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.6004, allocations: 123.9 kB / 0.6982 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6004, allocations: 4 kB / 0.6982 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.6007, allocations: 55.58 kB / 0.6983 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6008, allocations: 12 kB / 0.6983 GB, free: 10.68 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.6009, allocations: 124.9 kB / 0.6984 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.601, allocations: 51.38 kB / 0.6984 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.6011, allocations: 57.5 kB / 0.6985 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6011, allocations: 4 kB / 0.6985 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6011, allocations: 0 / 0.6985 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6011, allocations: 3.984 kB / 0.6985 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.6018, allocations: 0.5751 MB / 0.6991 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6018, allocations: 0 / 0.6991 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.6024, allocations: 131.8 kB / 0.6992 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.6024, allocations: 2.156 kB / 0.6992 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.6024, allocations: 8 kB / 0.6992 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6024, allocations: 3.953 kB / 0.6992 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6024, allocations: 0 / 0.6992 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.6032, allocations: 0.6077 MB / 0.6998 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.6034, allocations: 140.4 kB / 0.6999 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.6035, allocations: 8 kB / 0.6999 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6037, allocations: 19.98 kB / 0.7 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.6038, allocations: 31.91 kB / 0.7 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.6038, allocations: 11.94 kB / 0.7 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003852/0.6042, allocations: 345.2 kB / 0.7003 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6043, allocations: 0 / 0.7003 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004494/0.6047, allocations: 155.7 kB / 0.7005 GB, free: 8.336 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.6051, allocations: 273.3 kB / 0.7007 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.6055, allocations: 291.8 kB / 0.701 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6055, allocations: 0 / 0.701 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.6058, allocations: 164.2 kB / 0.7012 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.6063, allocations: 112.3 kB / 0.7013 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.6079, allocations: 0.9093 MB / 0.7022 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.6084, allocations: 0.8863 MB / 0.703 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.6086, allocations: 60.3 kB / 0.7031 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.6087, allocations: 35.44 kB / 0.7031 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/0.6087, allocations: 3.938 kB / 0.7031 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of Templates: time 0.2892/0.8979, allocations: 7.33 MB / 0.7103 GB, free: 132.4 MB / 0.5105 GB 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)