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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 290.9 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 91.55 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.14, allocations: 86.99 MB / 0.6795 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00233/0.1424, allocations: 1.502 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.1463, allocations: 3.01 MB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.1464, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.1464, allocations: 3.938 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.1465, allocations: 15.84 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.1495, allocations: 1.389 MB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.1496, allocations: 43.73 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.1496, allocations: 4 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.1497, allocations: 11.94 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.612e-05/0.1497, allocations: 23.8 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.1497, allocations: 0 / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.1517, allocations: 1.462 MB / 0.6868 GB, free: 9.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1517, allocations: 4 kB / 0.6868 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.1518, allocations: 23.86 kB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.1533, allocations: 1.115 MB / 0.6879 GB, free: 8.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1533, allocations: 7.984 kB / 0.6879 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1533, allocations: 0 / 0.6879 GB, free: 8.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1533, allocations: 0 / 0.6879 GB, free: 8.527 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.0006168/0.1539, allocations: 0.5107 MB / 0.6884 GB, free: 7.969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.154, allocations: 8.031 kB / 0.6884 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.154, allocations: 84.12 kB / 0.6885 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1542, allocations: 257.7 kB / 0.6887 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.1542, allocations: 154.9 kB / 0.6889 GB, free: 7.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1543, allocations: 154.9 kB / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.381e-05/0.1543, allocations: 113.1 kB / 0.6891 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.1544, allocations: 75.28 kB / 0.6892 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.1544, allocations: 154.5 kB / 0.6894 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.1545, allocations: 150.6 kB / 0.6895 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.1545, allocations: 154.6 kB / 0.6897 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.1548, allocations: 465.9 kB / 0.6901 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.1548, allocations: 173.1 kB / 0.6903 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.1549, allocations: 80.14 kB / 0.6903 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1549, allocations: 83.28 kB / 0.6904 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1549, allocations: 109.8 kB / 0.6905 GB, free: 5.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1549, allocations: 0 / 0.6905 GB, free: 5.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.803e-05/0.155, allocations: 37.55 kB / 0.6906 GB, free: 5.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1551, allocations: 126.7 kB / 0.6907 GB, free: 5.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1552, allocations: 137.7 kB / 0.6908 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1552, allocations: 25.7 kB / 0.6908 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.1553, allocations: 92.14 kB / 0.6909 GB, free: 5.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.1553, allocations: 0 / 0.6909 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1553, allocations: 21.77 kB / 0.6909 GB, free: 5.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.1554, allocations: 322.8 kB / 0.6913 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.1554, allocations: 0 / 0.6913 GB, free: 4.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1555, allocations: 4 kB / 0.6913 GB, free: 4.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.1555, allocations: 16.86 kB / 0.6913 GB, free: 4.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1555, allocations: 0 / 0.6913 GB, free: 4.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001125/0.1556, allocations: 53.62 kB / 0.6913 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1556, allocations: 14.81 kB / 0.6913 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.1557, allocations: 4 kB / 0.6913 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1557, allocations: 0 / 0.6913 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-06/0.1557, allocations: 0 / 0.6913 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1557, allocations: 3.938 kB / 0.6913 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1557, allocations: 3.906 kB / 0.6913 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1557, allocations: 0 / 0.6913 GB, free: 4.77 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 8.794e-05/0.1558, allocations: 189.8 kB / 0.6915 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.1559, allocations: 124.9 kB / 0.6916 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1559, allocations: 108.8 kB / 0.6918 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-05/0.156, allocations: 176.3 kB / 0.6919 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-05/0.156, allocations: 180.3 kB / 0.6921 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/0.1561, allocations: 188.2 kB / 0.6923 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1563, allocations: 417.3 kB / 0.6927 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.1564, allocations: 108.9 kB / 0.6928 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.1564, allocations: 104.9 kB / 0.6929 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/0.1565, allocations: 176.3 kB / 0.693 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.1565, allocations: 192.2 kB / 0.6932 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.451e-05/0.1566, allocations: 176.3 kB / 0.6934 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.227e-05/0.1566, allocations: 184.2 kB / 0.6936 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1567, allocations: 307.8 kB / 0.6939 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.1568, allocations: 189.9 kB / 0.694 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.1569, allocations: 180.3 kB / 0.6942 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.1569, allocations: 104.9 kB / 0.6943 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.157, allocations: 184.3 kB / 0.6945 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.157, allocations: 108.9 kB / 0.6946 GB, free: 1.215 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.1571, allocations: 99.27 kB / 0.6947 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 0 / 0.6947 GB, free: 1.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007016/0.1578, allocations: 287.8 kB / 0.695 GB, free: 0.8359 MB / 494.1 MB 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.001024/0.1588, allocations: 0.5379 MB / 0.6955 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.1589, allocations: 37.7 kB / 0.6955 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.159, allocations: 4 kB / 0.6955 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.159, allocations: 0 / 0.6955 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1594, allocations: 0.5385 MB / 0.6961 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.1596, allocations: 245.8 kB / 0.6963 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1598, allocations: 0.6887 MB / 0.697 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.1599, allocations: 0 / 0.697 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-06/0.1599, allocations: 7.438 kB / 0.697 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1599, allocations: 0 / 0.697 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.008476/0.1683, allocations: 5.686 MB / 0.7025 GB, free: 9.086 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)