Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.932/1.932, allocations: 288.4 MB / 303.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009056/0.0009057, allocations: 94.23 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 12.94 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001353/0.2474, allocations: 1.13 MB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.2506, allocations: 2.716 MB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.2507, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.2507, allocations: 3.984 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.2508, allocations: 11.86 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.002803/0.2536, allocations: 1.295 MB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.2536, allocations: 39.73 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.2537, allocations: 4.266 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.2537, allocations: 11.94 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.2538, allocations: 15.94 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2538, allocations: 4 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2554, allocations: 1.225 MB / 0.986 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2554, allocations: 15.92 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2554, allocations: 29.7 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.2562, allocations: 0.7018 MB / 0.9867 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2562, allocations: 0 / 0.9867 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2562, allocations: 4 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2563, allocations: 0 / 0.9867 GB, free: 20.3 MB / 0.6198 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.00048/0.2567, allocations: 0.5066 MB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2568, allocations: 12.03 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.2568, allocations: 105.8 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.2569, allocations: 87.14 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.257, allocations: 256.1 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.257, allocations: 150.6 kB / 0.9878 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.2571, allocations: 158.6 kB / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.86e-05/0.2571, allocations: 101 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2571, allocations: 75.28 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2572, allocations: 154.6 kB / 0.9883 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.2572, allocations: 158.5 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.2572, allocations: 150.6 kB / 0.9886 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.2574, allocations: 469.8 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/0.2575, allocations: 169.1 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.2575, allocations: 84.14 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.2575, allocations: 75.28 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2576, allocations: 113.8 kB / 0.9894 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.2576, allocations: 0 / 0.9894 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.798e-05/0.2576, allocations: 29.7 kB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2577, allocations: 130.7 kB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2578, allocations: 135.3 kB / 0.9897 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.2578, allocations: 25.7 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2579, allocations: 88.14 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.2579, allocations: 0 / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.2579, allocations: 4 kB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.2579, allocations: 322.7 kB / 0.9901 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.2579, allocations: 8 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.258, allocations: 4 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.258, allocations: 7.938 kB / 0.9902 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.258, allocations: 4 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.2581, allocations: 45.69 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2581, allocations: 4 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.2582, allocations: 4 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2582, allocations: 0 / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.2582, allocations: 0 / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2582, allocations: 0 / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.2582, allocations: 7.844 kB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2582, allocations: 8.062 kB / 0.9902 GB, free: 16.48 MB / 0.6198 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 7.247e-05/0.2583, allocations: 185.1 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.2584, allocations: 112.9 kB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2584, allocations: 108.9 kB / 0.9906 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.2584, allocations: 184.3 kB / 0.9908 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.2585, allocations: 180.2 kB / 0.991 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.2585, allocations: 184.2 kB / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2586, allocations: 421.1 kB / 0.9915 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.2587, allocations: 101 kB / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.2587, allocations: 104.9 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/0.2587, allocations: 180.2 kB / 0.9919 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.2587, allocations: 188.2 kB / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/0.2588, allocations: 180.2 kB / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/0.2588, allocations: 176.3 kB / 0.9924 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.104e-05/0.2589, allocations: 315.6 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2589, allocations: 190 kB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.259, allocations: 184.5 kB / 0.9931 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.2591, allocations: 105 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.2591, allocations: 188.3 kB / 0.9934 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2591, allocations: 105 kB / 0.9935 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2592, allocations: 100.3 kB / 0.9936 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2592, allocations: 0 / 0.9936 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006495/0.2598, allocations: 283.8 kB / 0.9938 GB, free: 12.57 MB / 0.6198 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.001039/0.2609, allocations: 1.156 MB / 0.995 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.261, allocations: 45.69 kB / 0.995 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.261, allocations: 0 / 0.995 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.261, allocations: 0 / 0.995 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.2613, allocations: 0.5302 MB / 0.9955 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.262, allocations: 0.6737 MB / 0.9962 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2622, allocations: 0.6809 MB / 0.9969 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.503e-05/0.2622, allocations: 7.875 kB / 0.9969 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2623, allocations: 27.42 kB / 0.9969 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2623, allocations: 0 / 0.9969 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.28, allocations: 6.752 MB / 1.003 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.2802, allocations: 321.5 kB / 1.004 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.169, allocations: 0 / 1.004 GB, free: 2.477 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)