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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001634/0.001634, 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.001838/0.001838, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001572/0.001573, allocations: 68.12 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2348, allocations: 114.6 MB / 0.7837 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002572/0.2375, allocations: 1.431 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.2416, allocations: 2.928 MB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.2417, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.2417, allocations: 7.922 kB / 0.788 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.2418, allocations: 19.8 kB / 0.788 GB, free: 8.762 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.004038/0.2459, allocations: 1.621 MB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.246, allocations: 43.73 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.246, allocations: 0 / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.2461, allocations: 15.94 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.973e-05/0.2461, allocations: 19.86 kB / 0.7896 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.2461, allocations: 0 / 0.7896 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.2483, allocations: 1.509 MB / 0.7911 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2483, allocations: 3.984 kB / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2483, allocations: 19.88 kB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2497, allocations: 1.092 MB / 0.7922 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2497, allocations: 4 kB / 0.7922 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2497, allocations: 0 / 0.7922 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2497, allocations: 0 / 0.7922 GB, free: 4.449 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.0005633/0.2503, allocations: 0.5185 MB / 0.7927 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2503, allocations: 12.03 kB / 0.7927 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.2504, allocations: 113.9 kB / 0.7928 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.2505, allocations: 80.22 kB / 0.7929 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2506, allocations: 250.1 kB / 0.7931 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.2507, allocations: 154.9 kB / 0.7933 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.2507, allocations: 158.9 kB / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.2508, allocations: 112.9 kB / 0.7935 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.2508, allocations: 75.28 kB / 0.7936 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.2509, allocations: 150.6 kB / 0.7938 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/0.251, allocations: 158.5 kB / 0.7939 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.251, allocations: 154.5 kB / 0.7941 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.2513, allocations: 461.9 kB / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.2514, allocations: 169.1 kB / 0.7947 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.2514, allocations: 88.14 kB / 0.7947 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2515, allocations: 79.22 kB / 0.7948 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.2515, allocations: 113.8 kB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2515, allocations: 0 / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.799e-05/0.2516, allocations: 29.7 kB / 0.795 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2517, allocations: 126.7 kB / 0.7951 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2519, allocations: 129.7 kB / 0.7952 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2519, allocations: 29.7 kB / 0.7952 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.252, allocations: 96.12 kB / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.252, allocations: 0 / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.252, allocations: 13.72 kB / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2521, allocations: 314.8 kB / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.2522, allocations: 7.984 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.2522, allocations: 8 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.2522, allocations: 12.8 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2522, allocations: 4.031 kB / 0.7957 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.2524, allocations: 49.64 kB / 0.7957 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2524, allocations: 7.984 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.2524, allocations: 4 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2524, allocations: 0 / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2524, allocations: 0 / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2524, allocations: 0 / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.2525, allocations: 7.844 kB / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2525, allocations: 0 / 0.7957 GB, free: 0.582 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.544e-05/0.2526, allocations: 193.1 kB / 0.7959 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.2526, allocations: 112.9 kB / 0.796 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.2527, allocations: 116.6 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/0.2528, allocations: 176.3 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/0.2528, allocations: 184.2 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/0.2529, allocations: 176.3 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.2531, allocations: 425.1 kB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.2532, allocations: 105 kB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.2532, allocations: 105 kB / 0.7973 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/0.2533, allocations: 180.2 kB / 0.7974 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.2533, allocations: 176.3 kB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.166e-05/0.2534, allocations: 188.2 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.242e-05/0.2535, allocations: 180.2 kB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2536, allocations: 315.6 kB / 0.7982 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.2537, allocations: 186 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.2537, allocations: 184.2 kB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2538, allocations: 109 kB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.2539, allocations: 188.2 kB / 0.7989 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.2539, allocations: 105 kB / 0.799 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.254, allocations: 98.23 kB / 0.7991 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.254, allocations: 0 / 0.7991 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006808/0.2547, allocations: 275.8 kB / 0.7993 GB, free: 12.66 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.001279/0.256, allocations: 1.181 MB / 0.8005 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.2561, allocations: 41.69 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2561, allocations: 4.062 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2561, allocations: 0 / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2565, allocations: 459.7 kB / 0.801 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2578, allocations: 1.589 MB / 0.8025 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2581, allocations: 0.6885 MB / 0.8032 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.2581, allocations: 0 / 0.8032 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.2581, allocations: 19.44 kB / 0.8032 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2581, allocations: 0 / 0.8032 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.2821, allocations: 7.029 MB / 0.8101 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.72, allocations: 13.56 kB / 0.8101 GB, free: 1.723 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)