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.0009642/0.0009643, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009338/0.0009338, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.661/1.661, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005129/0.0005131, allocations: 18.31 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2389, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001869/0.2408, allocations: 1.134 MB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.2455, allocations: 2.72 MB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2456, allocations: 0 / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2456, allocations: 4 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.231e-05/0.2457, allocations: 11.86 kB / 0.7911 GB, free: 7.984 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.004634/0.2504, allocations: 1.295 MB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2505, allocations: 35.75 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.2505, allocations: 4 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.2506, allocations: 19.92 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.2506, allocations: 15.92 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2507, allocations: 4 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.2534, allocations: 1.229 MB / 0.7937 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.2534, allocations: 3.938 kB / 0.7937 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2535, allocations: 29.7 kB / 0.7937 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2548, allocations: 0.7099 MB / 0.7944 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2548, allocations: 0 / 0.7944 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2549, allocations: 0 / 0.7944 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2549, allocations: 4 kB / 0.7944 GB, free: 4.652 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.0007452/0.2556, allocations: 0.5028 MB / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2557, allocations: 11.98 kB / 0.7949 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.2557, allocations: 83.12 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.2559, allocations: 258.2 kB / 0.7952 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.256, allocations: 150.6 kB / 0.7954 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.256, allocations: 150.6 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.2561, allocations: 105 kB / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.2562, allocations: 75.28 kB / 0.7957 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.2562, allocations: 154.6 kB / 0.7958 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.2563, allocations: 154.5 kB / 0.796 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.2563, allocations: 158.5 kB / 0.7961 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2566, allocations: 469.8 kB / 0.7966 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.2567, allocations: 169.1 kB / 0.7967 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.2568, allocations: 80.14 kB / 0.7968 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.2568, allocations: 75.28 kB / 0.7969 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.2569, allocations: 109.8 kB / 0.797 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.2569, allocations: 0 / 0.797 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.701e-05/0.2569, allocations: 41.56 kB / 0.797 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.257, allocations: 126.7 kB / 0.7971 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2572, allocations: 133.9 kB / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.2572, allocations: 25.7 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.2572, allocations: 92.14 kB / 0.7974 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.2572, allocations: 0 / 0.7974 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.2573, allocations: 4 kB / 0.7974 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2574, allocations: 318.8 kB / 0.7977 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.2574, allocations: 8 kB / 0.7977 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.2574, allocations: 4 kB / 0.7977 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.2574, allocations: 7.938 kB / 0.7977 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2575, allocations: 0 / 0.7977 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.2576, allocations: 49.62 kB / 0.7978 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2576, allocations: 4 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.2576, allocations: 8 kB / 0.7978 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2576, allocations: 4.062 kB / 0.7978 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2577, allocations: 0 / 0.7978 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.2577, allocations: 0 / 0.7978 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.2577, allocations: 7.906 kB / 0.7978 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.2577, allocations: 0 / 0.7978 GB, free: 0.9453 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.903e-05/0.2578, allocations: 185.1 kB / 0.798 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.2579, allocations: 105 kB / 0.7981 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.2579, allocations: 120.8 kB / 0.7982 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-05/0.258, allocations: 180.3 kB / 0.7983 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.158e-05/0.2581, allocations: 180.2 kB / 0.7985 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.2582, allocations: 176.3 kB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2584, allocations: 425.2 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.2584, allocations: 104.9 kB / 0.7992 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.2585, allocations: 109 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.867e-05/0.2585, allocations: 180.2 kB / 0.7995 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.2586, allocations: 176.3 kB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-05/0.2587, allocations: 180.5 kB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.521e-05/0.2588, allocations: 184.2 kB / 0.8 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.2589, allocations: 319.7 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.259, allocations: 186 kB / 0.8005 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.2591, allocations: 184.3 kB / 0.8006 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.2592, allocations: 104.9 kB / 0.8007 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2593, allocations: 176.3 kB / 0.8009 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.2593, allocations: 108.9 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.2594, allocations: 98.23 kB / 0.8011 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2594, allocations: 0 / 0.8011 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007734/0.2602, allocations: 283.8 kB / 0.8014 GB, free: 13.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.2614, allocations: 0.5149 MB / 0.8019 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.2615, allocations: 37.7 kB / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2615, allocations: 4.062 kB / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2615, allocations: 0 / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.2619, allocations: 0.5302 MB / 0.8024 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2623, allocations: 259.6 kB / 0.8027 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.2625, allocations: 0.6809 MB / 0.8033 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.2625, allocations: 0 / 0.8033 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.2626, allocations: 7.438 kB / 0.8034 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2626, allocations: 4 kB / 0.8034 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.01013/0.2727, allocations: 5.52 MB / 0.8087 GB, free: 5.469 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: