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.986/1.986, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.001607/0.001607, allocations: 195.2 kB / 371.8 MB, free: 10.28 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.771/1.771, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001021/0.001021, allocations: 97.66 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 12.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001338/0.2562, allocations: 1.109 MB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.2594, allocations: 2.619 MB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2595, allocations: 0 / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2595, allocations: 3.938 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.2596, allocations: 19.95 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.2624, allocations: 1.271 MB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.2625, allocations: 31.88 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.2625, allocations: 8.266 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.2626, allocations: 12 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.2626, allocations: 19.86 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2626, allocations: 3.938 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.2641, allocations: 1.174 MB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.2641, allocations: 0 / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2641, allocations: 37.64 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.265, allocations: 0.7213 MB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.265, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.265, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.265, allocations: 0 / 0.9864 GB, free: 20.52 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.0004419/0.2654, allocations: 0.5028 MB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2655, allocations: 8.031 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.2655, allocations: 109.8 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.2656, allocations: 87.14 kB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.2657, allocations: 254.3 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.2657, allocations: 150.6 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.2657, allocations: 150.6 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.488e-05/0.2658, allocations: 101 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2658, allocations: 79.28 kB / 0.9878 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2658, allocations: 158.5 kB / 0.9879 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2659, allocations: 150.6 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.2659, allocations: 154.6 kB / 0.9882 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.2661, allocations: 465.8 kB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.2661, allocations: 173.1 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2662, allocations: 75.28 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2662, allocations: 113.7 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2662, allocations: 0 / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.438e-05/0.2663, allocations: 29.7 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2663, allocations: 134.7 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2664, allocations: 132.4 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.2664, allocations: 29.7 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.2665, allocations: 92.14 kB / 0.9894 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.2665, allocations: 0 / 0.9894 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.2665, allocations: 0 / 0.9894 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.2665, allocations: 318.8 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.2665, allocations: 8 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.2666, allocations: 4 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.2666, allocations: 7.938 kB / 0.9897 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2666, allocations: 0 / 0.9897 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.2667, allocations: 49.72 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2667, allocations: 4 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.2667, allocations: 4 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2668, allocations: 0 / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.133e-06/0.2668, allocations: 0 / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2668, allocations: 7.922 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2668, allocations: 11.84 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2668, allocations: 0 / 0.9898 GB, free: 16.79 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 6.595e-05/0.2669, allocations: 185.1 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.2669, allocations: 113 kB / 0.9901 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.267, allocations: 116.8 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.267, allocations: 180.3 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.267, allocations: 180.2 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.2671, allocations: 176.3 kB / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.2672, allocations: 433.1 kB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.2672, allocations: 101 kB / 0.9912 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.2672, allocations: 101 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.551e-05/0.2673, allocations: 184.2 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.2673, allocations: 180.3 kB / 0.9917 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/0.2673, allocations: 180.2 kB / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-05/0.2674, allocations: 188.2 kB / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.2674, allocations: 311.6 kB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2675, allocations: 185.9 kB / 0.9925 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.2675, allocations: 192.5 kB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.2676, allocations: 105 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2676, allocations: 184.2 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2676, allocations: 101 kB / 0.9931 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.2677, allocations: 96.52 kB / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2677, allocations: 0 / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006244/0.2683, allocations: 279.8 kB / 0.9934 GB, free: 12.88 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.001011/0.2693, allocations: 1.151 MB / 0.9945 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.2694, allocations: 37.7 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2694, allocations: 0 / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.2695, allocations: 7.922 kB / 0.9946 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2697, allocations: 0.5341 MB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.2702, allocations: 0.5599 MB / 0.9957 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2703, allocations: 0.6848 MB / 0.9963 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.203e-05/0.2704, allocations: 0 / 0.9963 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2704, allocations: 15.44 kB / 0.9963 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2704, allocations: 0 / 0.9963 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2893, allocations: 6.699 MB / 1.003 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2895, allocations: 321.4 kB / 1.003 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.24, allocations: 3.938 kB / 1.003 GB, free: 2.941 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)