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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.716/1.716, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001099/0.001099, allocations: 187.7 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.703/1.703, allocations: 205.4 MB / 0.6305 GB, free: 9.934 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.0009587/0.0009587, allocations: 98.78 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 12.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001284/0.2095, allocations: 1.115 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.2125, allocations: 2.662 MB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.2126, allocations: 4 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.2126, allocations: 0 / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.2127, allocations: 19.95 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.2153, allocations: 1.295 MB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.2154, allocations: 35.94 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.2155, allocations: 3.938 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.2155, allocations: 15.94 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.2155, allocations: 15.92 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.2155, allocations: 4 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.2168, allocations: 1.209 MB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2168, allocations: 7.922 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2169, allocations: 29.7 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007663/0.2176, allocations: 0.7331 MB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2176, allocations: 4 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2176, allocations: 0 / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2177, allocations: 0 / 0.9865 GB, free: 20.36 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.0004133/0.2181, allocations: 0.5106 MB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2181, allocations: 8.031 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.2182, allocations: 105.8 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.2182, allocations: 99.06 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.2183, allocations: 244 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2183, allocations: 154.6 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2184, allocations: 158.5 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.932e-05/0.2184, allocations: 104.9 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2184, allocations: 79.28 kB / 0.9879 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.2185, allocations: 150.6 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.2185, allocations: 154.6 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.2185, allocations: 158.5 kB / 0.9884 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.2187, allocations: 465.9 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.2188, allocations: 165.1 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2188, allocations: 83.27 kB / 0.989 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2188, allocations: 109.8 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.2188, allocations: 4 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.882e-05/0.2189, allocations: 29.64 kB / 0.9892 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2189, allocations: 126.7 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.219, allocations: 139.1 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.219, allocations: 29.7 kB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.2191, allocations: 96.11 kB / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.2191, allocations: 0 / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.2191, allocations: 0 / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.2191, allocations: 322.8 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.2192, allocations: 4 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.2192, allocations: 8 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.2192, allocations: 4 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2192, allocations: 0 / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.2193, allocations: 53.53 kB / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2193, allocations: 8.062 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2194, allocations: 8 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2194, allocations: 0 / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2194, allocations: 0 / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2194, allocations: 0 / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.2194, allocations: 0 / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2194, allocations: 0 / 0.9899 GB, free: 16.61 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 5.648e-05/0.2195, allocations: 197.1 kB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.2195, allocations: 108.9 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.2195, allocations: 112.8 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.2196, allocations: 176.3 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/0.2196, allocations: 184.2 kB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.2196, allocations: 184.2 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2198, allocations: 417.1 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.2198, allocations: 108.9 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.2198, allocations: 105 kB / 0.9915 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.2198, allocations: 184.2 kB / 0.9916 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.2199, allocations: 184.3 kB / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.527e-05/0.2199, allocations: 184.3 kB / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.248e-05/0.2199, allocations: 180.2 kB / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.312e-05/0.22, allocations: 319.6 kB / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.22, allocations: 182.1 kB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.2201, allocations: 176.3 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.2201, allocations: 104.9 kB / 0.9929 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.2202, allocations: 188.5 kB / 0.9931 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2202, allocations: 108.9 kB / 0.9932 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.2202, allocations: 100.5 kB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2202, allocations: 0 / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005281/0.2208, allocations: 279.8 kB / 0.9936 GB, free: 12.69 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.001007/0.2218, allocations: 1.172 MB / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.808e-05/0.2219, allocations: 41.64 kB / 0.9947 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2219, allocations: 0 / 0.9947 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2219, allocations: 0 / 0.9947 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2221, allocations: 0.5264 MB / 0.9953 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.2227, allocations: 0.56 MB / 0.9958 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2228, allocations: 0.6888 MB / 0.9965 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.2228, allocations: 0 / 0.9965 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2228, allocations: 11.44 kB / 0.9965 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2228, allocations: 0 / 0.9965 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.2416, allocations: 6.923 MB / 1.003 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.2419, allocations: 336.3 kB / 1.004 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.166, allocations: 0 / 1.004 GB, free: 2.527 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)