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.InternalResistancesOneUTube.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.691/1.691, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001571/0.001571, allocations: 71.81 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 114.6 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002409/0.2372, allocations: 1.431 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00405/0.2413, allocations: 2.931 MB / 0.788 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.2413, allocations: 0 / 0.788 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.2414, allocations: 3.938 kB / 0.788 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.2415, allocations: 19.84 kB / 0.788 GB, free: 8.801 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/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.003633/0.2451, allocations: 1.619 MB / 0.7896 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.2452, allocations: 35.8 kB / 0.7896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.2453, allocations: 4 kB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.2453, allocations: 19.92 kB / 0.7896 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.2453, allocations: 19.86 kB / 0.7896 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2453, allocations: 3.938 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.2473, allocations: 1.505 MB / 0.7911 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.2474, allocations: 3.984 kB / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.2474, allocations: 19.88 kB / 0.7911 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2486, allocations: 1.096 MB / 0.7922 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2487, allocations: 4 kB / 0.7922 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2487, allocations: 4 kB / 0.7922 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2487, allocations: 0 / 0.7922 GB, free: 4.48 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.0005312/0.2492, allocations: 0.5107 MB / 0.7927 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2493, allocations: 8.031 kB / 0.7927 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.2493, allocations: 114 kB / 0.7928 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2494, allocations: 80.22 kB / 0.7929 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2495, allocations: 251.5 kB / 0.7931 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.2496, allocations: 154.9 kB / 0.7933 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.2497, allocations: 158.9 kB / 0.7934 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.347e-05/0.2497, allocations: 108.9 kB / 0.7935 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2498, allocations: 79.22 kB / 0.7936 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.2498, allocations: 150.6 kB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.2499, allocations: 154.5 kB / 0.7939 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.2499, allocations: 154.6 kB / 0.7941 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.2502, allocations: 461.9 kB / 0.7945 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.2503, allocations: 165.1 kB / 0.7947 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.2503, allocations: 84.08 kB / 0.7947 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.2504, allocations: 87.22 kB / 0.7948 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2504, allocations: 109.8 kB / 0.7949 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2504, allocations: 0 / 0.7949 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.2505, allocations: 29.7 kB / 0.7949 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2505, allocations: 130.7 kB / 0.7951 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2507, allocations: 129.7 kB / 0.7952 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2507, allocations: 25.7 kB / 0.7952 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2507, allocations: 92.14 kB / 0.7953 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2507, allocations: 4 kB / 0.7953 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.2508, allocations: 13.72 kB / 0.7953 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2509, allocations: 318.8 kB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.2509, allocations: 7.938 kB / 0.7956 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.2509, allocations: 8 kB / 0.7956 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.251, allocations: 8.859 kB / 0.7957 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.251, allocations: 0 / 0.7957 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.2511, allocations: 53.66 kB / 0.7957 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2511, allocations: 10.81 kB / 0.7957 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.2512, allocations: 0 / 0.7957 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2512, allocations: 4 kB / 0.7957 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2512, allocations: 0 / 0.7957 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2512, allocations: 0 / 0.7957 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.2512, allocations: 7.844 kB / 0.7957 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2512, allocations: 0 / 0.7957 GB, free: 0.6289 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 9.718e-05/0.2513, allocations: 201 kB / 0.7959 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2514, allocations: 104.9 kB / 0.796 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.2515, allocations: 120.7 kB / 0.7961 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/0.2515, allocations: 180.2 kB / 0.7963 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.368e-05/0.2516, allocations: 176.3 kB / 0.7965 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/0.2517, allocations: 188.2 kB / 0.7967 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.2519, allocations: 417.2 kB / 0.7971 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/0.2519, allocations: 105 kB / 0.7972 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.252, allocations: 108.9 kB / 0.7973 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.252, allocations: 176.3 kB / 0.7974 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.2521, allocations: 184.2 kB / 0.7976 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.994e-05/0.2522, allocations: 180.3 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.2522, allocations: 184.3 kB / 0.7979 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.2523, allocations: 315.6 kB / 0.7982 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.2524, allocations: 193.9 kB / 0.7984 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.2525, allocations: 176.3 kB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.2526, allocations: 109 kB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.2527, allocations: 180.2 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.2527, allocations: 109 kB / 0.799 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2528, allocations: 95.27 kB / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2528, allocations: 0 / 0.7991 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007391/0.2535, allocations: 275.8 kB / 0.7993 GB, free: 12.7 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.001267/0.2548, allocations: 1.19 MB / 0.8005 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2549, allocations: 37.7 kB / 0.8005 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2549, allocations: 4.062 kB / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2549, allocations: 0 / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.2553, allocations: 467.6 kB / 0.801 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2567, allocations: 1.583 MB / 0.8025 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2569, allocations: 0.6846 MB / 0.8032 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.2569, allocations: 0 / 0.8032 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.257, allocations: 19.42 kB / 0.8032 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.257, allocations: 0 / 0.8032 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.2808, allocations: 7.018 MB / 0.8101 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.676, allocations: 10.12 kB / 0.8101 GB, free: 1.777 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)