Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 179.7 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.4927/0.4927, allocations: 90.81 MB / 104.5 MB, free: 13.89 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.53/1.53, allocations: 221.3 MB / 348.3 MB, free: 12.58 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.0008941/0.0008941, allocations: 100.4 kB / 421.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.906e-05, allocations: 4 kB / 0.4897 GB, free: 46.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 72.32 MB / 0.5603 GB, free: 6.344 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6098, allocations: 122.4 MB / 0.6799 GB, free: 1.559 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.6102, allocations: 112.7 kB / 0.68 GB, free: 1.488 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0442/0.6544, allocations: 15.4 MB / 0.695 GB, free: 3.035 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6545, allocations: 0 / 0.695 GB, free: 3.035 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.6545, allocations: 4 kB / 0.695 GB, free: 3.031 MB / 490.7 MB 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.001124/0.6556, allocations: 0.5524 MB / 0.6956 GB, free: 2.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6557, allocations: 12.03 kB / 0.6956 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.727e-05/0.6558, allocations: 79.19 kB / 0.6956 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.656, allocations: 255 kB / 0.6959 GB, free: 2.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.656, allocations: 150.6 kB / 0.696 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.6561, allocations: 150.6 kB / 0.6962 GB, free: 1.758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.6562, allocations: 104.9 kB / 0.6963 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.6562, allocations: 79.28 kB / 0.6963 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.6563, allocations: 154.5 kB / 0.6965 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.6564, allocations: 154.6 kB / 0.6966 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.6564, allocations: 154.6 kB / 0.6968 GB, free: 1.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.6568, allocations: 461.9 kB / 0.6972 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.6569, allocations: 177.1 kB / 0.6974 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.6569, allocations: 80.14 kB / 0.6975 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.6569, allocations: 75.28 kB / 0.6975 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.657, allocations: 105.8 kB / 0.6976 GB, free: 164 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.657, allocations: 0 / 0.6976 GB, free: 164 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.42e-05/0.6571, allocations: 37.66 kB / 0.6977 GB, free: 120 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.6572, allocations: 134.6 kB / 0.6978 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.6573, allocations: 123.4 kB / 0.6979 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6574, allocations: 25.7 kB / 0.698 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.6574, allocations: 96.12 kB / 0.698 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.6574, allocations: 0 / 0.698 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.6574, allocations: 0 / 0.698 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6576, allocations: 322.8 kB / 0.6984 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.6576, allocations: 4 kB / 0.6984 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.6577, allocations: 15.88 kB / 0.6984 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.6577, allocations: 4 kB / 0.6984 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6577, allocations: 0 / 0.6984 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.6578, allocations: 49.61 kB / 0.6984 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6579, allocations: 4 kB / 0.6984 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.6579, allocations: 7.984 kB / 0.6984 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6579, allocations: 0 / 0.6984 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.6579, allocations: 0 / 0.6984 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6579, allocations: 11.89 kB / 0.6984 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.658, allocations: 8.047 kB / 0.6985 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.658, allocations: 0 / 0.6985 GB, free: 15.28 MB / 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.6581, allocations: 176.3 kB / 0.6986 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.6582, allocations: 108.9 kB / 0.6987 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.6582, allocations: 116.4 kB / 0.6988 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/0.6583, allocations: 188.3 kB / 0.699 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.176e-05/0.6584, allocations: 180.3 kB / 0.6992 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.708e-05/0.6585, allocations: 184.2 kB / 0.6994 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.6587, allocations: 413.2 kB / 0.6998 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/0.6587, allocations: 105 kB / 0.6999 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.6588, allocations: 108.9 kB / 0.7 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.266e-05/0.6588, allocations: 176.3 kB / 0.7001 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.6589, allocations: 184.2 kB / 0.7003 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-05/0.659, allocations: 176.3 kB / 0.7005 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.679e-05/0.6591, allocations: 188.2 kB / 0.7007 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.6592, allocations: 307.7 kB / 0.7009 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.6593, allocations: 186.1 kB / 0.7011 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.6594, allocations: 188.3 kB / 0.7013 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.6595, allocations: 109.9 kB / 0.7014 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.6596, allocations: 176.3 kB / 0.7016 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.6596, allocations: 105 kB / 0.7017 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.6597, allocations: 101.5 kB / 0.7018 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6597, allocations: 4 kB / 0.7018 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00106/0.6607, allocations: 323.5 kB / 0.7021 GB, free: 11.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001122/0.6619, allocations: 0.5446 MB / 0.7026 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.662, allocations: 41.98 kB / 0.7027 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.662, allocations: 0 / 0.7027 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.662, allocations: 4 kB / 0.7027 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.6624, allocations: 0.5319 MB / 0.7032 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.6627, allocations: 144.3 kB / 0.7033 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6631, allocations: 0.6887 MB / 0.704 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.6631, allocations: 4 kB / 0.704 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.6632, allocations: 7.438 kB / 0.704 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.6632, allocations: 0 / 0.704 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.009781/0.673, allocations: 5.296 MB / 0.7092 GB, free: 4.059 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)