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 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.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.001404/0.001404, allocations: 178.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.475/0.475, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.321/1.321, allocations: 221.3 MB / 348.3 MB, free: 448 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.001113/0.001113, allocations: 104.3 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.285e-05/4.34e-05, allocations: 4 kB / 0.4897 GB, free: 5.293 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.365, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5062, allocations: 122.4 MB / 0.6799 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5066, allocations: 115.9 kB / 0.68 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.046/0.5526, allocations: 15.41 MB / 0.695 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.599e-06/0.5526, allocations: 3.984 kB / 0.695 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5527, allocations: 0 / 0.695 GB, free: 14.29 MB / 0.5105 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.001067/0.5537, allocations: 0.5488 MB / 0.6956 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5538, allocations: 12.03 kB / 0.6956 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.5539, allocations: 87.19 kB / 0.6956 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.554, allocations: 247.7 kB / 0.6959 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.5541, allocations: 150.6 kB / 0.696 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.5541, allocations: 154.5 kB / 0.6962 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.403e-05/0.5542, allocations: 101 kB / 0.6963 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5542, allocations: 83.28 kB / 0.6963 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.5543, allocations: 154.5 kB / 0.6965 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.5543, allocations: 150.6 kB / 0.6966 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.5544, allocations: 154.5 kB / 0.6968 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.5546, allocations: 465.8 kB / 0.6972 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.562e-05/0.5547, allocations: 177.1 kB / 0.6974 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.5548, allocations: 80.14 kB / 0.6975 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.5548, allocations: 75.28 kB / 0.6975 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.5548, allocations: 109.8 kB / 0.6977 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5548, allocations: 0 / 0.6977 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.554e-05/0.5549, allocations: 33.66 kB / 0.6977 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.555, allocations: 134.6 kB / 0.6978 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5551, allocations: 118 kB / 0.6979 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5551, allocations: 29.7 kB / 0.698 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.5552, allocations: 92.12 kB / 0.698 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.5552, allocations: 0 / 0.698 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5552, allocations: 0 / 0.698 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.5553, allocations: 318.8 kB / 0.6983 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.5553, allocations: 8 kB / 0.6984 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.5553, allocations: 9.625 kB / 0.6984 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.5554, allocations: 8 kB / 0.6984 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5554, allocations: 0 / 0.6984 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001078/0.5555, allocations: 45.69 kB / 0.6984 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5555, allocations: 8 kB / 0.6984 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5555, allocations: 0 / 0.6984 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5556, allocations: 4 kB / 0.6984 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.5556, allocations: 3.938 kB / 0.6984 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5556, allocations: 3.953 kB / 0.6984 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.5556, allocations: 7.969 kB / 0.6984 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.5556, allocations: 0 / 0.6984 GB, free: 10.55 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 (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.16e-05/0.5557, allocations: 180.3 kB / 0.6986 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.5558, allocations: 108.9 kB / 0.6987 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.5558, allocations: 116.4 kB / 0.6988 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.948e-05/0.5559, allocations: 184.3 kB / 0.699 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.556, allocations: 184.3 kB / 0.6992 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-05/0.5561, allocations: 192.1 kB / 0.6994 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.5563, allocations: 409.2 kB / 0.6998 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-05/0.5563, allocations: 106 kB / 0.6999 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.5564, allocations: 104.9 kB / 0.7 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.5564, allocations: 176.3 kB / 0.7001 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.5565, allocations: 192.2 kB / 0.7003 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-05/0.5566, allocations: 180.3 kB / 0.7005 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-05/0.5566, allocations: 180.2 kB / 0.7006 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.5568, allocations: 307.8 kB / 0.7009 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.5568, allocations: 193.9 kB / 0.7011 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.5569, allocations: 176.3 kB / 0.7013 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.557, allocations: 109.8 kB / 0.7014 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.557, allocations: 176.3 kB / 0.7016 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.5571, allocations: 113.8 kB / 0.7017 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.5571, allocations: 94.56 kB / 0.7018 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5571, allocations: 4 kB / 0.7018 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009377/0.5581, allocations: 331.4 kB / 0.7021 GB, free: 6.602 MB / 0.5105 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.0009889/0.5591, allocations: 0.5413 MB / 0.7026 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.5592, allocations: 45.97 kB / 0.7027 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5592, allocations: 0 / 0.7027 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.5592, allocations: 2.438 kB / 0.7027 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5595, allocations: 0.5319 MB / 0.7032 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.5597, allocations: 148.3 kB / 0.7033 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.56, allocations: 0.6848 MB / 0.704 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.56, allocations: 0 / 0.704 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-06/0.56, allocations: 11.44 kB / 0.704 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.56, allocations: 0 / 0.704 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.2913/0.8513, allocations: 5.294 MB / 0.7092 GB, free: 134.4 MB / 0.5105 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)