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.00134/0.00134, allocations: 111.8 kB / 16.41 MB, free: 6.492 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.00132/0.00132, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 301.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 99.84 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4123, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002648/0.4149, allocations: 1.432 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.4195, allocations: 2.905 MB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.4195, allocations: 0 / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.4195, allocations: 7.922 kB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.4196, allocations: 11.86 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.4233, allocations: 1.59 MB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.4234, allocations: 43.67 kB / 0.773 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.4235, allocations: 4 kB / 0.773 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.4235, allocations: 15.92 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.4235, allocations: 19.88 kB / 0.773 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.4235, allocations: 0 / 0.773 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.4259, allocations: 1.533 MB / 0.7745 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.4259, allocations: 11.92 kB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.4259, allocations: 23.88 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.4274, allocations: 1.097 MB / 0.7756 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4274, allocations: 4 kB / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4274, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4274, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 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.000729/0.4282, allocations: 0.5324 MB / 0.7761 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4282, allocations: 12.03 kB / 0.7762 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.4283, allocations: 80.17 kB / 0.7762 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.4285, allocations: 251.6 kB / 0.7765 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.709e-05/0.4286, allocations: 158.9 kB / 0.7766 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.4287, allocations: 150.9 kB / 0.7768 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.4288, allocations: 105.1 kB / 0.7769 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.4288, allocations: 75.28 kB / 0.7769 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.4289, allocations: 154.6 kB / 0.7771 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.429, allocations: 154.6 kB / 0.7772 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.429, allocations: 150.6 kB / 0.7774 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.4294, allocations: 465.9 kB / 0.7778 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.4294, allocations: 169.1 kB / 0.778 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.4295, allocations: 84.14 kB / 0.7781 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.4295, allocations: 79.22 kB / 0.7781 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.4296, allocations: 109.8 kB / 0.7782 GB, free: 8.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4296, allocations: 0 / 0.7782 GB, free: 8.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.2e-05/0.4297, allocations: 37.59 kB / 0.7783 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.4297, allocations: 134.7 kB / 0.7784 GB, free: 8.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.4299, allocations: 136.6 kB / 0.7785 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4299, allocations: 29.7 kB / 0.7786 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.43, allocations: 96.11 kB / 0.7787 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.43, allocations: 0 / 0.7787 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.43, allocations: 21.7 kB / 0.7787 GB, free: 7.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4301, allocations: 314.8 kB / 0.779 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.4302, allocations: 4 kB / 0.779 GB, free: 7.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.4302, allocations: 12 kB / 0.779 GB, free: 7.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.4302, allocations: 20.88 kB / 0.779 GB, free: 7.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4302, allocations: 0 / 0.779 GB, free: 7.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/0.4304, allocations: 53.58 kB / 0.7791 GB, free: 7.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4304, allocations: 4 kB / 0.7791 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.4304, allocations: 4 kB / 0.7791 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4304, allocations: 0 / 0.7791 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4304, allocations: 3.938 kB / 0.7791 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4304, allocations: 0 / 0.7791 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.4304, allocations: 7.953 kB / 0.7791 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.4304, allocations: 0 / 0.7791 GB, free: 7.434 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4306, allocations: 189.1 kB / 0.7793 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.4306, allocations: 112.9 kB / 0.7794 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.4307, allocations: 116.8 kB / 0.7795 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/0.4308, allocations: 180.3 kB / 0.7797 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.481e-05/0.4309, allocations: 184.2 kB / 0.7798 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/0.4309, allocations: 180.3 kB / 0.78 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.4312, allocations: 413.2 kB / 0.7804 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.792e-05/0.4313, allocations: 112.8 kB / 0.7805 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.4313, allocations: 101 kB / 0.7806 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.509e-05/0.4314, allocations: 188.2 kB / 0.7808 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.4315, allocations: 176.3 kB / 0.7809 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.397e-05/0.4316, allocations: 180.3 kB / 0.7811 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-05/0.4316, allocations: 180.2 kB / 0.7813 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.4318, allocations: 315.7 kB / 0.7816 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4319, allocations: 186 kB / 0.7818 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.432, allocations: 188.3 kB / 0.782 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.4321, allocations: 108.9 kB / 0.7821 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.4322, allocations: 180.2 kB / 0.7822 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.4322, allocations: 108.9 kB / 0.7823 GB, free: 3.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.4323, allocations: 106.1 kB / 0.7824 GB, free: 3.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4323, allocations: 0 / 0.7824 GB, free: 3.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000741/0.4331, allocations: 283 kB / 0.7827 GB, free: 3.504 MB / 0.545 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.001073/0.4341, allocations: 0.5467 MB / 0.7832 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.4342, allocations: 33.7 kB / 0.7833 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4342, allocations: 0 / 0.7833 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.4342, allocations: 4 kB / 0.7833 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4347, allocations: 476.1 kB / 0.7837 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.435, allocations: 228.1 kB / 0.7839 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.4354, allocations: 0.6885 MB / 0.7846 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.167e-05/0.4354, allocations: 0 / 0.7846 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.4354, allocations: 11.44 kB / 0.7846 GB, free: 1.461 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4354, allocations: 0 / 0.7846 GB, free: 1.461 MB / 0.545 GB Notification: Performance of Templates: time 0.01056/0.446, allocations: 5.619 MB / 0.7901 GB, free: 11.89 MB / 0.5606 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)