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.001579/0.001579, allocations: 106.7 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.001547/0.001547, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 281.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 95.84 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5079, allocations: 86.99 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00286/0.5108, allocations: 1.428 MB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.5156, allocations: 2.897 MB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.5157, allocations: 4 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.5157, allocations: 3.938 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.5158, allocations: 19.84 kB / 0.7714 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.5202, allocations: 1.583 MB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.5204, allocations: 39.69 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.5204, allocations: 7.984 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.5205, allocations: 11.94 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.5205, allocations: 19.92 kB / 0.773 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.5205, allocations: 4 kB / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.5231, allocations: 1.533 MB / 0.7745 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.5231, allocations: 7.938 kB / 0.7745 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.5232, allocations: 19.86 kB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.5252, allocations: 1.094 MB / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5252, allocations: 4 kB / 0.7756 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5252, allocations: 0 / 0.7756 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.5252, allocations: 0 / 0.7756 GB, free: 11.2 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.0008207/0.526, allocations: 0.5208 MB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5261, allocations: 12.03 kB / 0.7761 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.5262, allocations: 76.22 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.5264, allocations: 262.2 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.5264, allocations: 154.9 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.5265, allocations: 154.9 kB / 0.7767 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.5266, allocations: 109.1 kB / 0.7768 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.5266, allocations: 75.28 kB / 0.7769 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.5267, allocations: 150.6 kB / 0.7771 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.5267, allocations: 150.6 kB / 0.7772 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.5268, allocations: 150.6 kB / 0.7773 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.5271, allocations: 465.9 kB / 0.7778 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/0.5272, allocations: 177.1 kB / 0.778 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.5272, allocations: 84.08 kB / 0.778 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.5272, allocations: 75.28 kB / 0.7781 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.5273, allocations: 113.8 kB / 0.7782 GB, free: 8.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5273, allocations: 4 kB / 0.7782 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.235e-05/0.5274, allocations: 33.64 kB / 0.7783 GB, free: 8.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.5275, allocations: 126.7 kB / 0.7784 GB, free: 8.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.5276, allocations: 133.7 kB / 0.7785 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5277, allocations: 29.7 kB / 0.7785 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.5277, allocations: 96.14 kB / 0.7786 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5277, allocations: 0 / 0.7786 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.5278, allocations: 17.72 kB / 0.7786 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5279, allocations: 318.8 kB / 0.7789 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.5279, allocations: 7.984 kB / 0.779 GB, free: 7.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.528, allocations: 8 kB / 0.779 GB, free: 7.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.528, allocations: 8.859 kB / 0.779 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.528, allocations: 3.938 kB / 0.779 GB, free: 7.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000147/0.5282, allocations: 57.48 kB / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5282, allocations: 4 kB / 0.779 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.5282, allocations: 7.984 kB / 0.779 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5282, allocations: 64 / 0.779 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5282, allocations: 4 kB / 0.779 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.5282, allocations: 0 / 0.779 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.5283, allocations: 11.94 kB / 0.7791 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5283, 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.0001055/0.5284, allocations: 181.1 kB / 0.7792 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.5285, allocations: 112.8 kB / 0.7793 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.5285, allocations: 116.8 kB / 0.7794 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.5286, allocations: 184.3 kB / 0.7796 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/0.5287, allocations: 188.2 kB / 0.7798 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/0.5287, allocations: 180.2 kB / 0.78 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.529, allocations: 409.2 kB / 0.7804 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.529, allocations: 112.8 kB / 0.7805 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.5291, allocations: 109 kB / 0.7806 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.5291, allocations: 184.2 kB / 0.7808 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.5292, allocations: 176.3 kB / 0.7809 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-05/0.5293, allocations: 176.3 kB / 0.7811 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.934e-05/0.5293, allocations: 184.1 kB / 0.7813 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.5295, allocations: 319.7 kB / 0.7816 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.5296, allocations: 182 kB / 0.7817 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.5296, allocations: 184.2 kB / 0.7819 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.5297, allocations: 104.9 kB / 0.782 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.5298, allocations: 176.3 kB / 0.7822 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.5298, allocations: 116.9 kB / 0.7823 GB, free: 3.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.5299, allocations: 102.1 kB / 0.7824 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5299, allocations: 0 / 0.7824 GB, free: 3.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008553/0.5308, allocations: 279.8 kB / 0.7827 GB, free: 3.516 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.001312/0.5321, allocations: 0.5317 MB / 0.7832 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.5322, allocations: 41.69 kB / 0.7832 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5322, allocations: 4 kB / 0.7832 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.5323, allocations: 0 / 0.7832 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.5327, allocations: 468.1 kB / 0.7837 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.5331, allocations: 269.8 kB / 0.7839 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5334, allocations: 0.6807 MB / 0.7846 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.5334, allocations: 11.44 kB / 0.7846 GB, free: 1.449 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.5334, allocations: 3.938 kB / 0.7846 GB, free: 1.445 MB / 0.545 GB Notification: Performance of Templates: time 0.008952/0.5424, allocations: 4.743 MB / 0.7892 GB, free: 12.71 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)