Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006819/0.006819, allocations: 101.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 68.06 kB / 0.9505 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2248, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002302/0.2272, allocations: 1.438 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003934/0.2311, allocations: 2.885 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.2312, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.2312, allocations: 3.938 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.2314, allocations: 19.86 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.2353, allocations: 1.586 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.2354, allocations: 43.73 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2355, allocations: 3.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.2355, allocations: 19.92 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.548e-05/0.2355, allocations: 15.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.2355, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.2378, allocations: 1.529 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2378, allocations: 19.86 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2379, allocations: 19.86 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.2395, allocations: 1.096 MB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2395, allocations: 0 / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2395, allocations: 0 / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2396, allocations: 0 / 1.096 GB, free: 9.277 MB / 0.8575 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.0006693/0.2402, allocations: 0.5146 MB / 1.097 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2403, allocations: 8.031 kB / 1.097 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2403, allocations: 110 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.2404, allocations: 84.12 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2405, allocations: 255.5 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.2406, allocations: 154.9 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.2406, allocations: 154.9 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.776e-05/0.2407, allocations: 104.9 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.2407, allocations: 79.28 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.2408, allocations: 150.6 kB / 1.098 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.2408, allocations: 154.6 kB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.2409, allocations: 150.6 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.2411, allocations: 469.8 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.2412, allocations: 169.1 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.2412, allocations: 80.14 kB / 1.099 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2413, allocations: 79.22 kB / 1.099 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.2413, allocations: 109.8 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2413, allocations: 4 kB / 1.099 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.253e-05/0.2414, allocations: 37.62 kB / 1.099 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2415, allocations: 126.7 kB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2416, allocations: 135.9 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2416, allocations: 29.7 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2417, allocations: 84.14 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.2417, allocations: 7.938 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2417, allocations: 21.7 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2418, allocations: 314.9 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.2419, allocations: 12 kB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.2419, allocations: 4 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.2419, allocations: 20.91 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2419, allocations: 3.938 kB / 1.1 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001187/0.2421, allocations: 53.58 kB / 1.1 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2421, allocations: 4 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.2421, allocations: 4 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2421, allocations: 0 / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2421, allocations: 0 / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2422, allocations: 8.062 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.2422, allocations: 7.891 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.2422, allocations: 0 / 1.1 GB, free: 5.395 MB / 0.8575 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 8.066e-05/0.2423, allocations: 185.1 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.2423, allocations: 108.8 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.2424, allocations: 116.8 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/0.2424, allocations: 180.2 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/0.2425, allocations: 184.2 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/0.2425, allocations: 180.3 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2427, allocations: 413.2 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.2428, allocations: 108.9 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.2428, allocations: 105 kB / 1.101 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.918e-05/0.2429, allocations: 184.2 kB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.2429, allocations: 176.3 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.615e-05/0.243, allocations: 180.3 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.634e-05/0.243, allocations: 184.2 kB / 1.102 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.2431, allocations: 311.7 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.2432, allocations: 190 kB / 1.102 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.2433, allocations: 180.3 kB / 1.102 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.2433, allocations: 104.9 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.2434, allocations: 180.2 kB / 1.103 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.2434, allocations: 112.9 kB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.2435, allocations: 103.3 kB / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2435, allocations: 0 / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007574/0.2443, allocations: 283.7 kB / 1.103 GB, free: 1.477 MB / 0.8575 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.001492/0.2458, allocations: 1.181 MB / 1.104 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2459, allocations: 41.64 kB / 1.104 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2459, allocations: 0 / 1.104 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.2459, allocations: 368 / 1.104 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2463, allocations: 466.3 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2477, allocations: 1.606 MB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2479, allocations: 0.6807 MB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.2479, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.2479, allocations: 19.44 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.2479, allocations: 0 / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.105/2.353, allocations: 7.063 MB / 1.114 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/10.97, allocations: 6.688 kB / 1.114 GB, free: 6.504 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)