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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0014/0.0014, allocations: 192.9 kB / 16.13 MB, free: 6.656 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.432/1.432, allocations: 205.1 MB / 222 MB, free: 4.957 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.722/1.722, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.00129/0.001291, allocations: 64.12 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2154, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00289/0.2183, allocations: 1.5 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.223, allocations: 3.092 MB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.2231, allocations: 0 / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.2232, allocations: 0 / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.329e-05/0.2233, allocations: 23.84 kB / 0.7872 GB, free: 9.344 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.004107/0.2274, allocations: 1.463 MB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.2275, allocations: 43.67 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.2276, allocations: 4.141 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.2276, allocations: 15.92 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.988e-05/0.2276, allocations: 19.92 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2277, allocations: 0 / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.2304, allocations: 1.486 MB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2305, allocations: 7.938 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.2305, allocations: 15.88 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.2326, allocations: 1.138 MB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2326, allocations: 0 / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2326, allocations: 4 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2326, allocations: 0 / 0.7913 GB, free: 5.164 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.0007786/0.2334, allocations: 0.5146 MB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2334, allocations: 19.98 kB / 0.7919 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.2335, allocations: 76.22 kB / 0.7919 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2337, allocations: 259.5 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.2338, allocations: 154.9 kB / 0.7923 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.2338, allocations: 150.9 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.2339, allocations: 105.1 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.2339, allocations: 79.28 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.234, allocations: 154.5 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.2341, allocations: 150.6 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.2341, allocations: 154.6 kB / 0.7931 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2344, allocations: 461.9 kB / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.2345, allocations: 177.1 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2346, allocations: 80.14 kB / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.2346, allocations: 79.22 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.2347, allocations: 113.8 kB / 0.794 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2347, allocations: 0 / 0.794 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.745e-05/0.2348, allocations: 41.61 kB / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.2349, allocations: 126.7 kB / 0.7941 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.235, allocations: 140.2 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.235, allocations: 25.7 kB / 0.7943 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.2351, allocations: 92.12 kB / 0.7944 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2351, allocations: 0 / 0.7944 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.2352, allocations: 25.66 kB / 0.7944 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2353, allocations: 318.8 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.2353, allocations: 7.984 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2353, allocations: 7.938 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.2354, allocations: 12.86 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2354, allocations: 0 / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001373/0.2355, allocations: 57.61 kB / 0.7948 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2356, allocations: 4 kB / 0.7948 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.2356, allocations: 7.984 kB / 0.7948 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2356, allocations: 0 / 0.7948 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2356, allocations: 0 / 0.7948 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2356, allocations: 8.047 kB / 0.7948 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.2357, allocations: 7.984 kB / 0.7948 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2357, allocations: 0 / 0.7948 GB, free: 1.383 MB / 0.6075 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 8.968e-05/0.2358, allocations: 185.1 kB / 0.795 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.2358, allocations: 116.8 kB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.2359, allocations: 116.6 kB / 0.7952 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/0.2359, allocations: 180.2 kB / 0.7954 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.287e-05/0.236, allocations: 180.3 kB / 0.7955 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.2361, allocations: 180.3 kB / 0.7957 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2363, allocations: 413.2 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/0.2363, allocations: 108.9 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.2364, allocations: 104.9 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.504e-05/0.2364, allocations: 184.3 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2365, allocations: 180.3 kB / 0.7967 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-05/0.2365, allocations: 184.2 kB / 0.7968 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.2366, allocations: 180.3 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.2367, allocations: 315.7 kB / 0.7973 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2368, allocations: 186 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.2369, allocations: 184.2 kB / 0.7977 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.237, allocations: 101 kB / 0.7978 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.237, allocations: 180.2 kB / 0.7979 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.2371, allocations: 104.9 kB / 0.798 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.2371, allocations: 107.3 kB / 0.7981 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2371, allocations: 0 / 0.7981 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008233/0.238, allocations: 287.8 kB / 0.7984 GB, free: 13.46 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.001386/0.2394, allocations: 0.5546 MB / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2395, allocations: 49.62 kB / 0.799 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2395, allocations: 0 / 0.799 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.2395, allocations: 0 / 0.799 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2399, allocations: 0.5301 MB / 0.7995 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.2403, allocations: 254 kB / 0.7998 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2405, allocations: 0.6809 MB / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.535e-05/0.2405, allocations: 0 / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.2406, allocations: 15.44 kB / 0.8004 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.2406, allocations: 0 / 0.8004 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.01018/0.2508, allocations: 5.789 MB / 0.8061 GB, free: 5.582 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (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)