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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001064/0.001064, allocations: 171.5 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4541/0.4541, allocations: 86.26 MB / 103.8 MB, free: 14.57 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.302/1.302, allocations: 223.2 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 89.52 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 0.4901 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 71.02 MB / 0.5595 GB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.466, allocations: 110.8 MB / 0.6677 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4663, allocations: 123.6 kB / 0.6678 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05648/0.5228, allocations: 22.19 MB / 0.6895 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5228, allocations: 0 / 0.6895 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.189e-05/0.5229, allocations: 12 kB / 0.6895 GB, free: 8.227 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.001505/0.5244, allocations: 0.8295 MB / 0.6903 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5244, allocations: 15.91 kB / 0.6903 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.5246, allocations: 72.09 kB / 0.6904 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.5253, allocations: 457.7 kB / 0.6909 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.5253, allocations: 37.38 kB / 0.6909 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.5254, allocations: 48.38 kB / 0.6909 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.5263, allocations: 427 kB / 0.6913 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5263, allocations: 4.188 kB / 0.6913 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.5263, allocations: 23.94 kB / 0.6914 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5264, allocations: 12 kB / 0.6914 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.5271, allocations: 371.8 kB / 0.6917 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.5295, allocations: 1.547 MB / 0.6932 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.5301, allocations: 343.7 kB / 0.6936 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.5306, allocations: 357.7 kB / 0.6939 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.5307, allocations: 4 kB / 0.6939 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5307, allocations: 38.55 kB / 0.694 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.5307, allocations: 0 / 0.694 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0009843/0.5317, allocations: 0.5009 MB / 0.6944 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5317, allocations: 59.34 kB / 0.6945 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.5324, allocations: 481.9 kB / 0.695 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.5324, allocations: 33.7 kB / 0.695 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.5326, allocations: 272.4 kB / 0.6953 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5327, allocations: 149.8 kB / 0.6954 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.5328, allocations: 4 kB / 0.6954 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5329, allocations: 366.8 kB / 0.6957 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.5332, allocations: 120.7 kB / 0.6959 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5334, allocations: 137.2 kB / 0.696 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.5339, allocations: 294.6 kB / 0.6963 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5339, allocations: 0 / 0.6963 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006522/0.5346, allocations: 396.7 kB / 0.6967 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5346, allocations: 7.938 kB / 0.6967 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5346, allocations: 3.938 kB / 0.6967 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5347, allocations: 4 kB / 0.6967 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.5351, allocations: 123.9 kB / 0.6968 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5352, allocations: 8.766 kB / 0.6968 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.5355, allocations: 51.66 kB / 0.6968 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.5355, allocations: 11.98 kB / 0.6969 GB, free: 468 kB / 0.4948 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 (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.000278/0.5358, allocations: 197.8 kB / 0.697 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.5359, allocations: 55.28 kB / 0.6971 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.536, allocations: 65.09 kB / 0.6972 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.536, allocations: 4 kB / 0.6972 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.536, allocations: 3.938 kB / 0.6972 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5361, allocations: 3.984 kB / 0.6972 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.5368, allocations: 0.5711 MB / 0.6977 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5368, allocations: 0 / 0.6977 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.5373, allocations: 131.9 kB / 0.6979 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5373, allocations: 3.938 kB / 0.6979 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.5374, allocations: 12 kB / 0.6979 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5374, allocations: 0 / 0.6979 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5374, allocations: 0 / 0.6979 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.5384, allocations: 0.6671 MB / 0.6985 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.5385, allocations: 132.5 kB / 0.6986 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.5386, allocations: 11.94 kB / 0.6987 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.5389, allocations: 23.98 kB / 0.6987 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.5389, allocations: 27.95 kB / 0.6987 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.539, allocations: 8 kB / 0.6987 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004252/0.5394, allocations: 347.1 kB / 0.699 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5394, allocations: 0 / 0.699 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005103/0.5399, allocations: 159.5 kB / 0.6992 GB, free: 13.96 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 () * 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 (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.0004228/0.5404, allocations: 255.6 kB / 0.6994 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006268/0.541, allocations: 331.5 kB / 0.6998 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.541, allocations: 4 kB / 0.6998 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.5413, allocations: 187.9 kB / 0.6999 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.542, allocations: 135 kB / 0.7001 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.5443, allocations: 1.433 MB / 0.7015 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.5448, allocations: 0.8668 MB / 0.7023 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.5451, allocations: 56.34 kB / 0.7024 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5452, allocations: 35.44 kB / 0.7024 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.5452, allocations: 0 / 0.7024 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.01361/0.5588, allocations: 7.133 MB / 0.7094 GB, free: 3.625 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)