Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009121/0.0009121, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006645/0.006645, allocations: 171.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004988, allocations: 21.02 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 116.3 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001719/0.2303, allocations: 1.161 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.2349, allocations: 3.026 MB / 0.792 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.235, allocations: 0 / 0.792 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.235, allocations: 7.922 kB / 0.792 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.2351, allocations: 7.922 kB / 0.792 GB, free: 7.293 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.2389, allocations: 1.459 MB / 0.7935 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.239, allocations: 43.73 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.2391, allocations: 8.219 kB / 0.7935 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.2391, allocations: 15.94 kB / 0.7935 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.2391, allocations: 15.92 kB / 0.7935 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.2391, allocations: 0 / 0.7935 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.2413, allocations: 1.478 MB / 0.795 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.2413, allocations: 11.92 kB / 0.795 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.2413, allocations: 45.58 kB / 0.795 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2427, allocations: 1.134 MB / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2428, allocations: 0 / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2428, allocations: 0 / 0.7962 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.2428, allocations: 0 / 0.7962 GB, free: 3.094 MB / 0.6075 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.0005885/0.2434, allocations: 0.5146 MB / 0.7967 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2434, allocations: 11.98 kB / 0.7967 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.2435, allocations: 88.11 kB / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2436, allocations: 251.5 kB / 0.797 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.2437, allocations: 158.9 kB / 0.7971 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2438, allocations: 154.9 kB / 0.7973 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.116e-05/0.2438, allocations: 113.1 kB / 0.7974 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.2439, allocations: 75.28 kB / 0.7975 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.2439, allocations: 150.6 kB / 0.7976 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.244, allocations: 154.6 kB / 0.7978 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.244, allocations: 150.6 kB / 0.7979 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2443, allocations: 469.9 kB / 0.7984 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.2444, allocations: 165.1 kB / 0.7985 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.2445, allocations: 84.14 kB / 0.7986 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2445, allocations: 79.28 kB / 0.7987 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.2445, allocations: 109.8 kB / 0.7988 GB, free: 244 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2446, allocations: 0 / 0.7988 GB, free: 244 kB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.869e-05/0.2446, allocations: 49.53 kB / 0.7988 GB, free: 188 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.2447, allocations: 126.7 kB / 0.7989 GB, free: 48 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2449, allocations: 132.9 kB / 0.7991 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2449, allocations: 29.7 kB / 0.7991 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.2449, allocations: 96.08 kB / 0.7992 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.2449, allocations: 0 / 0.7992 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.245, allocations: 13.7 kB / 0.7992 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2451, allocations: 318.8 kB / 0.7995 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.2451, allocations: 4 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.2451, allocations: 8 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.2452, allocations: 12.86 kB / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2452, allocations: 8.016 kB / 0.7995 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.2453, allocations: 57.48 kB / 0.7996 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2453, allocations: 4 kB / 0.7996 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.2454, allocations: 4 kB / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.2454, allocations: 0 / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.2454, allocations: 0 / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2454, allocations: 0 / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.2454, allocations: 3.906 kB / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.2454, allocations: 4 kB / 0.7996 GB, free: 15.32 MB / 0.6231 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.0001005/0.2455, allocations: 189.1 kB / 0.7998 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2456, allocations: 108.9 kB / 0.7999 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.2457, allocations: 116.6 kB / 0.8 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.543e-05/0.2458, allocations: 180.3 kB / 0.8002 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.2458, allocations: 184.2 kB / 0.8003 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6e-05/0.2459, allocations: 176.3 kB / 0.8005 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2461, allocations: 417.2 kB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-05/0.2462, allocations: 112.9 kB / 0.801 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.2462, allocations: 101 kB / 0.8011 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-05/0.2463, allocations: 188.2 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.2463, allocations: 180.2 kB / 0.8015 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.2464, allocations: 180.3 kB / 0.8016 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.402e-05/0.2465, allocations: 184.2 kB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.2466, allocations: 315.7 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.2467, allocations: 185.9 kB / 0.8023 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.2468, allocations: 180.3 kB / 0.8025 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.2469, allocations: 112.9 kB / 0.8026 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.2469, allocations: 180.2 kB / 0.8027 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.247, allocations: 104.9 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.247, allocations: 99.27 kB / 0.8029 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.247, allocations: 3.938 kB / 0.8029 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007213/0.2478, allocations: 287.8 kB / 0.8032 GB, free: 11.39 MB / 0.6231 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.001077/0.2489, allocations: 0.5461 MB / 0.8038 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.249, allocations: 41.69 kB / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.249, allocations: 0 / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/0.249, allocations: 64 / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.2494, allocations: 0.5302 MB / 0.8043 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2497, allocations: 270.3 kB / 0.8046 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.25, allocations: 0.6848 MB / 0.8052 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.25, allocations: 0 / 0.8052 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.25, allocations: 11.44 kB / 0.8052 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.25, allocations: 0 / 0.8052 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of Templates: time 0.009729/0.2597, allocations: 5.781 MB / 0.8109 GB, free: 3.516 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: