Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.635/2.635, allocations: 287.5 MB / 302.4 MB, free: 8.395 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.001364/0.001364, allocations: 184.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009703/0.0009698, allocations: 91.31 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005115, allocations: 17.61 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2308, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001683/0.2325, allocations: 1.134 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005143/0.2377, allocations: 2.732 MB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.2378, allocations: 4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.2378, allocations: 7.984 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.2379, allocations: 11.86 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.005074/0.243, allocations: 1.293 MB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.2431, allocations: 35.75 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.2432, allocations: 12.25 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.2432, allocations: 15.94 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.2433, allocations: 15.88 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2433, allocations: 4 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.2462, allocations: 1.232 MB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.2462, allocations: 4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2463, allocations: 25.7 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.2478, allocations: 0.7056 MB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2479, allocations: 0 / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2479, allocations: 0 / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.2479, allocations: 4 kB / 0.9856 GB, free: 20.97 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.0006664/0.2486, allocations: 0.5106 MB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2487, allocations: 8.031 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2487, allocations: 105.8 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2488, allocations: 87.14 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2489, allocations: 251.8 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.2489, allocations: 150.6 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.249, allocations: 154.6 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.361e-05/0.249, allocations: 104.9 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2491, allocations: 79.27 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2491, allocations: 154.6 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.2491, allocations: 150.6 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.2492, allocations: 162.5 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.2495, allocations: 465.8 kB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.2495, allocations: 169.1 kB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.2496, allocations: 80.14 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2496, allocations: 79.28 kB / 0.9882 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2496, allocations: 105.8 kB / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.2496, allocations: 0 / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.308e-05/0.2497, allocations: 29.7 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.2498, allocations: 130.7 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2499, allocations: 136.2 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.25, allocations: 29.69 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.25, allocations: 96.14 kB / 0.9887 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.25, allocations: 3.938 kB / 0.9887 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.25, allocations: 0 / 0.9887 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2501, allocations: 314.8 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.2501, allocations: 11.98 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.2502, allocations: 4 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.2502, allocations: 4 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2502, allocations: 0 / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.2504, allocations: 41.7 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2504, allocations: 11.98 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.2504, allocations: 4.062 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2505, allocations: 0 / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.2505, allocations: 0 / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2505, allocations: 7.938 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.2505, allocations: 7.844 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2506, allocations: 3.953 kB / 0.9891 GB, free: 17.14 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.352e-05/0.2506, allocations: 189.1 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.2507, allocations: 104.9 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.2508, allocations: 124.9 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/0.2508, allocations: 180.2 kB / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.318e-05/0.2508, allocations: 176.3 kB / 0.9898 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/0.2509, allocations: 180.3 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2511, allocations: 417.1 kB / 0.9904 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.2511, allocations: 109 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.2511, allocations: 108.9 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.285e-05/0.2512, allocations: 176.3 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2512, allocations: 176.3 kB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/0.2513, allocations: 180.2 kB / 0.9911 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-05/0.2513, allocations: 188.2 kB / 0.9913 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.2514, allocations: 311.9 kB / 0.9916 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2515, allocations: 182 kB / 0.9918 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.2515, allocations: 196.2 kB / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.2516, allocations: 101 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.2517, allocations: 188.2 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2517, allocations: 105 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.2518, allocations: 95.27 kB / 0.9924 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.213e-06/0.2518, allocations: 4 kB / 0.9924 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009713/0.2528, allocations: 279.8 kB / 0.9927 GB, free: 13.23 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.00159/0.2544, allocations: 1.157 MB / 0.9938 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2545, allocations: 37.7 kB / 0.9938 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2545, allocations: 0 / 0.9938 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.2546, allocations: 3.938 kB / 0.9939 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.2549, allocations: 0.5303 MB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.256, allocations: 0.6807 MB / 0.995 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2562, allocations: 0.6849 MB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.2562, allocations: 0 / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2562, allocations: 15.44 kB / 0.9957 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2562, allocations: 0 / 0.9957 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.2873, allocations: 6.752 MB / 1.002 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.2877, allocations: 313 kB / 1.003 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/3.334, allocations: 4.062 kB / 1.003 GB, free: 3.117 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)