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.001207/0.001207, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.00139/0.00139, allocations: 187 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003437/0.003437, allocations: 285.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9738/0.9738, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 107.8 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5208, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00228/0.5231, allocations: 1.436 MB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00402/0.5271, allocations: 2.897 MB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5272, allocations: 0 / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.5272, allocations: 7.922 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.5273, allocations: 15.86 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.5308, allocations: 1.577 MB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.5309, allocations: 43.67 kB / 0.773 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.531, allocations: 4 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.531, allocations: 15.92 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.531, allocations: 15.94 kB / 0.773 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.5311, allocations: 0 / 0.773 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.5331, allocations: 1.537 MB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.5331, allocations: 7.938 kB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.5332, allocations: 23.86 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.5344, allocations: 1.098 MB / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5344, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5344, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5344, 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.000549/0.535, allocations: 0.5224 MB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.535, allocations: 8.031 kB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.5351, allocations: 80.22 kB / 0.7762 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.5353, allocations: 259.4 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.5353, allocations: 150.9 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.5354, allocations: 150.9 kB / 0.7767 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.837e-05/0.5355, allocations: 105.1 kB / 0.7768 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.5355, allocations: 75.28 kB / 0.7769 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.5355, allocations: 158.6 kB / 0.7771 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.5356, allocations: 158.5 kB / 0.7772 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.5357, allocations: 150.6 kB / 0.7773 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.5359, allocations: 461.9 kB / 0.7778 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.536, allocations: 169.1 kB / 0.778 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.536, allocations: 80.14 kB / 0.778 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.5361, allocations: 79.22 kB / 0.7781 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5361, allocations: 113.7 kB / 0.7782 GB, free: 8.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5361, allocations: 0 / 0.7782 GB, free: 8.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.365e-05/0.5362, allocations: 29.7 kB / 0.7782 GB, free: 8.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.5363, allocations: 138.7 kB / 0.7784 GB, free: 8.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5364, allocations: 136.7 kB / 0.7785 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.5364, allocations: 25.7 kB / 0.7785 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.5365, allocations: 92.16 kB / 0.7786 GB, free: 7.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.5365, allocations: 4 kB / 0.7786 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.5365, allocations: 17.7 kB / 0.7786 GB, free: 7.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.5366, allocations: 318.8 kB / 0.7789 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.5367, allocations: 4 kB / 0.7789 GB, free: 7.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.5367, allocations: 12 kB / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.5367, allocations: 20.86 kB / 0.779 GB, free: 7.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5367, allocations: 3.984 kB / 0.779 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001327/0.5369, allocations: 53.55 kB / 0.779 GB, free: 7.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5369, allocations: 4 kB / 0.779 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.5369, allocations: 4 kB / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5369, allocations: 0 / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.5369, allocations: 0 / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.537, allocations: 4 kB / 0.779 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.537, allocations: 3.938 kB / 0.779 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.537, allocations: 4.062 kB / 0.779 GB, free: 7.449 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.0001072/0.5371, allocations: 189.1 kB / 0.7792 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.5372, allocations: 112.8 kB / 0.7793 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.5372, allocations: 112.9 kB / 0.7794 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/0.5373, allocations: 184.2 kB / 0.7796 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-05/0.5373, allocations: 180.2 kB / 0.7798 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.126e-05/0.5374, allocations: 184.3 kB / 0.78 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.5376, allocations: 413.2 kB / 0.7804 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.5377, allocations: 104.9 kB / 0.7805 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.5377, allocations: 108.9 kB / 0.7806 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.241e-05/0.5377, allocations: 180.2 kB / 0.7807 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.5378, allocations: 180.3 kB / 0.7809 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.187e-05/0.5379, allocations: 180.2 kB / 0.7811 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.576e-05/0.5379, allocations: 180.3 kB / 0.7813 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.5381, allocations: 315.6 kB / 0.7816 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.5382, allocations: 190 kB / 0.7817 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.5382, allocations: 184.2 kB / 0.7819 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.5383, allocations: 105 kB / 0.782 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.5384, allocations: 184.2 kB / 0.7822 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.5385, allocations: 113 kB / 0.7823 GB, free: 3.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.5385, allocations: 98.08 kB / 0.7824 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5385, allocations: 0 / 0.7824 GB, free: 3.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006821/0.5392, allocations: 287.8 kB / 0.7827 GB, free: 3.523 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.0009786/0.5402, allocations: 0.5359 MB / 0.7832 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.5403, allocations: 41.64 kB / 0.7832 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5403, allocations: 0 / 0.7832 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.5404, allocations: 4.062 kB / 0.7832 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.5408, allocations: 475.9 kB / 0.7837 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.5411, allocations: 259.1 kB / 0.7839 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5413, allocations: 0.6885 MB / 0.7846 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.5413, allocations: 11.44 kB / 0.7846 GB, free: 1.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5413, allocations: 0 / 0.7846 GB, free: 1.449 MB / 0.545 GB Notification: Performance of Templates: time 0.00697/0.5483, allocations: 4.725 MB / 0.7892 GB, free: 12.73 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)