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.InternalResistancesTwoUTubeNegative.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.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009326, allocations: 170.7 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.448/0.448, allocations: 86.27 MB / 103.8 MB, free: 14.54 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.352/1.352, allocations: 223.2 MB / 348.4 MB, free: 4.902 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.0008383/0.0008384, allocations: 93.83 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 16 kB / 0.4902 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3371, allocations: 71.01 MB / 0.5595 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4674, allocations: 121.6 MB / 0.6783 GB, free: 3.828 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4677, allocations: 123.6 kB / 0.6784 GB, free: 3.711 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04441/0.5121, allocations: 15.58 MB / 0.6936 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5121, allocations: 3.938 kB / 0.6936 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.5121, allocations: 0 / 0.6936 GB, free: 4.098 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007896/0.5129, allocations: 0.5575 MB / 0.6942 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.513, allocations: 12.03 kB / 0.6942 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.5131, allocations: 84.11 kB / 0.6943 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.5132, allocations: 257.2 kB / 0.6945 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.5133, allocations: 154.9 kB / 0.6947 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.5134, allocations: 150.9 kB / 0.6948 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.252e-05/0.5134, allocations: 105.5 kB / 0.6949 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5135, allocations: 75.47 kB / 0.695 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.5135, allocations: 154.5 kB / 0.6951 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.5136, allocations: 150.6 kB / 0.6953 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.5136, allocations: 162.5 kB / 0.6954 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.5139, allocations: 461.9 kB / 0.6959 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.514, allocations: 165.1 kB / 0.696 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.514, allocations: 84.12 kB / 0.6961 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.5141, allocations: 79.28 kB / 0.6962 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.5141, allocations: 113.7 kB / 0.6963 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5141, allocations: 0 / 0.6963 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.249e-05/0.5142, allocations: 41.55 kB / 0.6963 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5143, allocations: 126.7 kB / 0.6965 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5144, allocations: 125.8 kB / 0.6966 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5144, allocations: 25.7 kB / 0.6966 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.5145, allocations: 100.1 kB / 0.6967 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.5145, allocations: 0 / 0.6967 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.5145, allocations: 0 / 0.6967 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5146, allocations: 318.8 kB / 0.697 GB, free: 444 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.5146, allocations: 0 / 0.697 GB, free: 444 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.5146, allocations: 8 kB / 0.697 GB, free: 436 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.5147, allocations: 20.78 kB / 0.697 GB, free: 412 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5147, allocations: 0 / 0.697 GB, free: 412 kB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001172/0.5148, allocations: 45.61 kB / 0.6971 GB, free: 360 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5148, allocations: 17.88 kB / 0.6971 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.5149, allocations: 4 kB / 0.6971 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5149, allocations: 0 / 0.6971 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.5149, allocations: 0 / 0.6971 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5149, allocations: 0 / 0.6971 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.5149, allocations: 3.938 kB / 0.6971 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5149, allocations: 0 / 0.6971 GB, free: 336 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 (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 9.248e-05/0.515, allocations: 193.1 kB / 0.6973 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.5151, allocations: 120.8 kB / 0.6974 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2694/0.7845, allocations: 108.8 kB / 0.6975 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.7845, allocations: 177.1 kB / 0.6977 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/0.7846, allocations: 180.9 kB / 0.6978 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.7846, allocations: 185.2 kB / 0.698 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.7848, allocations: 411.2 kB / 0.6984 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.7848, allocations: 107.5 kB / 0.6985 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.7849, allocations: 108.9 kB / 0.6986 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/0.7849, allocations: 185.7 kB / 0.6988 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.7849, allocations: 180.5 kB / 0.699 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.733e-05/0.785, allocations: 182.5 kB / 0.6991 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-05/0.785, allocations: 183.8 kB / 0.6993 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.7851, allocations: 308.5 kB / 0.6996 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.7851, allocations: 187.3 kB / 0.6998 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.7852, allocations: 188 kB / 0.7 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.7853, allocations: 105 kB / 0.7001 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.7853, allocations: 178.9 kB / 0.7002 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.7853, allocations: 107.2 kB / 0.7003 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.7854, allocations: 97.62 kB / 0.7004 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7854, allocations: 4.156 kB / 0.7004 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001304/0.7867, allocations: 323.5 kB / 0.7007 GB, free: 119.3 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 () * Number of clocked 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.001209/0.7879, allocations: 0.5701 MB / 0.7013 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.7881, allocations: 40.05 kB / 0.7013 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7881, allocations: 3.688 kB / 0.7013 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.7881, allocations: 9.281 kB / 0.7013 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.7884, allocations: 0.5272 MB / 0.7019 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.7888, allocations: 258.2 kB / 0.7021 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.7889, allocations: 0.6826 MB / 0.7028 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.7889, allocations: 0.9062 kB / 0.7028 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.7889, allocations: 11.47 kB / 0.7028 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.7889, allocations: 6.531 kB / 0.7028 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0111/0.8, allocations: 5.659 MB / 0.7083 GB, free: 117.4 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)