Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005274/0.005274, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 266.5 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 24.12 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001265/0.1393, allocations: 1.154 MB / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.143, allocations: 2.944 MB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.1431, allocations: 0 / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1431, allocations: 3.984 kB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.1431, allocations: 11.86 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.146, allocations: 1.384 MB / 0.6906 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.146, allocations: 47.67 kB / 0.6906 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.006e-05/0.1461, allocations: 0 / 0.6906 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.1461, allocations: 19.92 kB / 0.6906 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.537e-05/0.1461, allocations: 19.86 kB / 0.6906 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.525e-06/0.1461, allocations: 0 / 0.6906 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1479, allocations: 1.462 MB / 0.6921 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.1479, allocations: 11.98 kB / 0.6921 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1479, allocations: 45.56 kB / 0.6921 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1492, allocations: 1.111 MB / 0.6932 GB, free: 6.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1492, allocations: 0 / 0.6932 GB, free: 6.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1492, allocations: 0 / 0.6932 GB, free: 6.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1492, allocations: 4 kB / 0.6932 GB, free: 6.777 MB / 494.1 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.000487/0.1497, allocations: 0.5068 MB / 0.6937 GB, free: 6.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1497, allocations: 12.03 kB / 0.6937 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1498, allocations: 84.12 kB / 0.6938 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1499, allocations: 251.5 kB / 0.694 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.1499, allocations: 154.9 kB / 0.6942 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.15, allocations: 154.9 kB / 0.6943 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.936e-05/0.15, allocations: 105.1 kB / 0.6944 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.1501, allocations: 75.28 kB / 0.6945 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1501, allocations: 158.5 kB / 0.6947 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.1502, allocations: 150.6 kB / 0.6948 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.1502, allocations: 150.6 kB / 0.6949 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.1505, allocations: 465.9 kB / 0.6954 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.1505, allocations: 173.1 kB / 0.6956 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.1506, allocations: 92.06 kB / 0.6956 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1506, allocations: 75.28 kB / 0.6957 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.1506, allocations: 113.8 kB / 0.6958 GB, free: 3.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1506, allocations: 0 / 0.6958 GB, free: 3.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.211e-05/0.1507, allocations: 37.61 kB / 0.6959 GB, free: 3.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1508, allocations: 130.7 kB / 0.696 GB, free: 3.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1509, allocations: 129.8 kB / 0.6961 GB, free: 3.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1509, allocations: 25.7 kB / 0.6961 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1509, allocations: 88.14 kB / 0.6962 GB, free: 3.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.151, allocations: 0 / 0.6962 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.151, allocations: 21.7 kB / 0.6962 GB, free: 3.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1511, allocations: 310.8 kB / 0.6965 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.1511, allocations: 8 kB / 0.6965 GB, free: 3.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1511, allocations: 11.94 kB / 0.6966 GB, free: 3.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.1512, allocations: 16.84 kB / 0.6966 GB, free: 3.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1512, allocations: 0 / 0.6966 GB, free: 3.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.1513, allocations: 57.61 kB / 0.6966 GB, free: 3.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1513, allocations: 9.812 kB / 0.6966 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.1513, allocations: 4 kB / 0.6966 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.1513, allocations: 0 / 0.6966 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1513, allocations: 0 / 0.6966 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1513, allocations: 0 / 0.6966 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.1514, allocations: 11.92 kB / 0.6966 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1514, allocations: 64 / 0.6966 GB, free: 3.023 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.1515, allocations: 189.8 kB / 0.6968 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.1515, allocations: 120.8 kB / 0.6969 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.1516, allocations: 108.9 kB / 0.697 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/0.1516, allocations: 184.2 kB / 0.6972 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/0.1517, allocations: 176.3 kB / 0.6974 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.1517, allocations: 180.3 kB / 0.6976 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1519, allocations: 417.2 kB / 0.698 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/0.152, allocations: 104.9 kB / 0.6981 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.152, allocations: 108.9 kB / 0.6982 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-05/0.1521, allocations: 180.3 kB / 0.6983 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.1521, allocations: 184.2 kB / 0.6985 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.026e-05/0.1522, allocations: 180.3 kB / 0.6987 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-05/0.1522, allocations: 176.3 kB / 0.6989 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1523, allocations: 311.7 kB / 0.6991 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.1524, allocations: 190 kB / 0.6993 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.1525, allocations: 184.3 kB / 0.6995 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1526, allocations: 109 kB / 0.6996 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1526, allocations: 180.2 kB / 0.6998 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1527, allocations: 101 kB / 0.6999 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.1527, allocations: 107.2 kB / 0.7 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1527, allocations: 0 / 0.7 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006/0.1534, allocations: 283.8 kB / 0.7002 GB, free: 15.1 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000942/0.1543, allocations: 0.53 MB / 0.7008 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.758e-05/0.1544, allocations: 49.62 kB / 0.7008 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1544, allocations: 0 / 0.7008 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1544, allocations: 4.062 kB / 0.7008 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1548, allocations: 0.5268 MB / 0.7013 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.155, allocations: 267.7 kB / 0.7016 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.1553, allocations: 0.6809 MB / 0.7023 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.028e-05/0.1553, allocations: 0 / 0.7023 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-06/0.1553, allocations: 7.438 kB / 0.7023 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/0.1553, allocations: 0 / 0.7023 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.00857/0.1639, allocations: 5.696 MB / 0.7078 GB, free: 7.336 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)