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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01053/0.01053, allocations: 172.6 kB / 16.27 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.651/1.651, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.867/1.867, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005325/0.0005326, allocations: 16.09 kB / 0.6744 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001717/0.2255, allocations: 1.16 MB / 0.7891 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2302, allocations: 2.983 MB / 0.792 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.2303, allocations: 0 / 0.792 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2303, allocations: 11.94 kB / 0.792 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2304, allocations: 7.922 kB / 0.792 GB, free: 7.348 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.2343, allocations: 1.428 MB / 0.7934 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.2344, allocations: 43.73 kB / 0.7934 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2345, allocations: 3.984 kB / 0.7934 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.2345, allocations: 11.94 kB / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.789e-05/0.2345, allocations: 19.88 kB / 0.7935 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.2346, allocations: 0 / 0.7935 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.2369, allocations: 1.451 MB / 0.7949 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2369, allocations: 0 / 0.7949 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.237, allocations: 45.58 kB / 0.7949 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.2389, allocations: 1.111 MB / 0.796 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2389, allocations: 0 / 0.796 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2389, allocations: 3.938 kB / 0.796 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2389, allocations: 0 / 0.796 GB, free: 3.242 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.0007581/0.2397, allocations: 0.4991 MB / 0.7965 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2398, allocations: 19.98 kB / 0.7965 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.2398, allocations: 80.12 kB / 0.7966 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.24, allocations: 251.5 kB / 0.7968 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.2401, allocations: 158.9 kB / 0.797 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.2402, allocations: 154.9 kB / 0.7971 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.274e-05/0.2402, allocations: 105.1 kB / 0.7972 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.2403, allocations: 83.22 kB / 0.7973 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.2404, allocations: 154.5 kB / 0.7975 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.2404, allocations: 150.6 kB / 0.7976 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.2405, allocations: 150.6 kB / 0.7977 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.2408, allocations: 461.9 kB / 0.7982 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.241, allocations: 177.2 kB / 0.7984 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.241, allocations: 84.08 kB / 0.7984 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.241, allocations: 75.28 kB / 0.7985 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.2411, allocations: 113.8 kB / 0.7986 GB, free: 408 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.2411, allocations: 3.984 kB / 0.7986 GB, free: 404 kB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.544e-05/0.2412, allocations: 41.55 kB / 0.7987 GB, free: 356 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.2413, allocations: 126.7 kB / 0.7988 GB, free: 216 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2414, allocations: 129 kB / 0.7989 GB, free: 80 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2415, allocations: 25.7 kB / 0.7989 GB, free: 48 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.2416, allocations: 96.12 kB / 0.799 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.2416, allocations: 0 / 0.799 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.2416, allocations: 9.719 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2417, allocations: 318.8 kB / 0.7993 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.2418, allocations: 7.938 kB / 0.7993 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.2418, allocations: 7.984 kB / 0.7994 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.2419, allocations: 16.86 kB / 0.7994 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2419, allocations: 0 / 0.7994 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.242, allocations: 53.55 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.242, allocations: 7.984 kB / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2421, allocations: 4 kB / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2421, allocations: 0 / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.2421, allocations: 0 / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2421, allocations: 0 / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.2421, allocations: 4.062 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.2422, allocations: 4 kB / 0.7994 GB, free: 15.5 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.0001175/0.2423, allocations: 185.1 kB / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.2424, allocations: 116.9 kB / 0.7997 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.2424, allocations: 112.8 kB / 0.7998 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.621e-05/0.2425, allocations: 184.2 kB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.575e-05/0.2426, allocations: 184.2 kB / 0.8002 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/0.2427, allocations: 180.2 kB / 0.8004 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.2429, allocations: 413.2 kB / 0.8007 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/0.243, allocations: 108.9 kB / 0.8009 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.243, allocations: 104.9 kB / 0.801 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.2431, allocations: 180.3 kB / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.2432, allocations: 184.2 kB / 0.8013 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.2433, allocations: 176.3 kB / 0.8015 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-05/0.2434, allocations: 180.3 kB / 0.8016 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.2435, allocations: 315.7 kB / 0.8019 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.2436, allocations: 190 kB / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.2437, allocations: 180.2 kB / 0.8023 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2438, allocations: 109 kB / 0.8024 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.2439, allocations: 180.2 kB / 0.8026 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.2439, allocations: 101 kB / 0.8027 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.244, allocations: 95.27 kB / 0.8028 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.244, allocations: 4 kB / 0.8028 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008619/0.2449, allocations: 291.8 kB / 0.803 GB, free: 11.58 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.001339/0.2462, allocations: 0.526 MB / 0.8036 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.2463, allocations: 41.64 kB / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2464, allocations: 4.062 kB / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.2464, allocations: 0 / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2468, allocations: 0.534 MB / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.2472, allocations: 259.7 kB / 0.8044 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2475, allocations: 0.6848 MB / 0.805 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.2475, allocations: 4.031 kB / 0.805 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.2475, allocations: 11.44 kB / 0.805 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.2475, allocations: 0 / 0.805 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of Templates: time 0.01046/0.258, allocations: 5.586 MB / 0.8105 GB, free: 3.918 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: