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.004328/0.004328, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.001124/0.001124, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 274.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 91.86 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1579, allocations: 86.98 MB / 0.7665 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002075/0.16, allocations: 1.418 MB / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003748/0.1638, allocations: 2.903 MB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.1638, allocations: 0 / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.1639, allocations: 3.938 kB / 0.7707 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.1639, allocations: 15.84 kB / 0.7707 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.1671, allocations: 1.6 MB / 0.7723 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.1672, allocations: 35.8 kB / 0.7723 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1673, allocations: 7.984 kB / 0.7723 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.1673, allocations: 19.88 kB / 0.7723 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.1673, allocations: 15.86 kB / 0.7723 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.1673, allocations: 4 kB / 0.7724 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.1692, allocations: 1.529 MB / 0.7738 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1693, allocations: 4 kB / 0.7738 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1693, allocations: 19.86 kB / 0.7739 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3197/0.489, allocations: 1.106 MB / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.489, allocations: 1.031 kB / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.489, allocations: 0 / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.489, allocations: 0 / 0.7749 GB, free: 10.09 MB / 0.5606 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.0006918/0.4897, allocations: 0.5336 MB / 0.7755 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4898, allocations: 9.656 kB / 0.7755 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.4898, allocations: 82.66 kB / 0.7756 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.4899, allocations: 252.8 kB / 0.7758 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.49, allocations: 153.3 kB / 0.7759 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.49, allocations: 153 kB / 0.7761 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.63e-05/0.4901, allocations: 112.9 kB / 0.7762 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4901, allocations: 76.19 kB / 0.7763 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4901, allocations: 152 kB / 0.7764 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4901, allocations: 155.2 kB / 0.7766 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.4902, allocations: 151.3 kB / 0.7767 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.4904, allocations: 463.3 kB / 0.7771 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.4904, allocations: 174 kB / 0.7773 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.4904, allocations: 80.14 kB / 0.7774 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.4905, allocations: 78.12 kB / 0.7775 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.4905, allocations: 111 kB / 0.7776 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4905, allocations: 1.594 kB / 0.7776 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.752e-05/0.4906, allocations: 38.2 kB / 0.7776 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.4906, allocations: 127.3 kB / 0.7777 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4907, allocations: 138.3 kB / 0.7779 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.4907, allocations: 27.42 kB / 0.7779 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.4908, allocations: 89.94 kB / 0.778 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.4908, allocations: 1.125 kB / 0.778 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.4908, allocations: 20.41 kB / 0.778 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.4909, allocations: 320.4 kB / 0.7783 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.4909, allocations: 3.469 kB / 0.7783 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.4909, allocations: 7.125 kB / 0.7783 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.491, allocations: 13.06 kB / 0.7783 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.491, allocations: 1.438 kB / 0.7783 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001185/0.4911, allocations: 63.89 kB / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4911, allocations: 5.766 kB / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.4911, allocations: 4.094 kB / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4911, allocations: 0 / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4912, allocations: 2.812 kB / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4912, allocations: 1.578 kB / 0.7784 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.4912, allocations: 4.766 kB / 0.7784 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.4912, allocations: 0.6875 kB / 0.7784 GB, free: 6.641 MB / 0.5606 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 5.272e-05/0.4913, allocations: 188.3 kB / 0.7786 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.4913, allocations: 112 kB / 0.7787 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.4913, allocations: 112.7 kB / 0.7788 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.4914, allocations: 178.2 kB / 0.779 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/0.4914, allocations: 184 kB / 0.7791 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/0.4915, allocations: 180.4 kB / 0.7793 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4917, allocations: 414.7 kB / 0.7797 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.4918, allocations: 105.7 kB / 0.7798 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.4918, allocations: 107.8 kB / 0.7799 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.257e-05/0.4919, allocations: 182.9 kB / 0.7801 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.4919, allocations: 182.9 kB / 0.7803 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.446e-05/0.492, allocations: 182.9 kB / 0.7804 GB, free: 20.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-05/0.4921, allocations: 180.9 kB / 0.7806 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.4922, allocations: 309.3 kB / 0.7809 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4923, allocations: 189.6 kB / 0.7811 GB, free: 19.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.4924, allocations: 185.8 kB / 0.7813 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.4924, allocations: 104.2 kB / 0.7814 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.4925, allocations: 180.4 kB / 0.7815 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.4926, allocations: 111.5 kB / 0.7816 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.82e-05/0.4926, allocations: 100.1 kB / 0.7817 GB, free: 19.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4926, allocations: 3.375 kB / 0.7817 GB, free: 19.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007052/0.4933, allocations: 291 kB / 0.782 GB, free: 19.09 MB / 0.5762 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.001039/0.4944, allocations: 0.5344 MB / 0.7825 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.561e-05/0.4945, allocations: 40.22 kB / 0.7826 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4945, allocations: 7.734 kB / 0.7826 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.4945, allocations: 4.094 kB / 0.7826 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.4949, allocations: 467 kB / 0.783 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.4952, allocations: 245 kB / 0.7833 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.4955, allocations: 0.687 MB / 0.7839 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.4955, allocations: 0 / 0.7839 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.4955, allocations: 9.188 kB / 0.7839 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.4955, allocations: 0.7812 kB / 0.7839 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.009901/0.5054, allocations: 5.613 MB / 0.7894 GB, free: 17.12 MB / 0.5762 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)