Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001218/0.001218, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.8694 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4958, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002145/0.498, allocations: 1.434 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003498/0.5015, allocations: 2.899 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.5015, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.5015, allocations: 7.922 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.5016, allocations: 15.86 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.5045, allocations: 1.583 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.5045, allocations: 43.73 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.5046, allocations: 3.984 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.5046, allocations: 15.94 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.5046, allocations: 27.84 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.5046, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.5063, allocations: 1.459 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.5063, allocations: 4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.5063, allocations: 19.88 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.5075, allocations: 1.115 MB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5075, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5075, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5075, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 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.0004706/0.508, allocations: 0.5186 MB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.508, allocations: 12.02 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.5081, allocations: 110 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.5081, allocations: 84.12 kB / 1.027 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5082, allocations: 247.5 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.5083, allocations: 150.9 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.5084, allocations: 154.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.339e-05/0.5084, allocations: 104.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.5084, allocations: 79.28 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.5085, allocations: 154.5 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.5085, allocations: 150.6 kB / 1.028 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.5086, allocations: 158.5 kB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.5088, allocations: 473.9 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.5089, allocations: 165.1 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.5089, allocations: 80.14 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.509, allocations: 79.22 kB / 1.029 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.509, allocations: 117.8 kB / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.509, allocations: 0 / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.732e-05/0.5091, allocations: 29.61 kB / 1.029 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.5091, allocations: 126.7 kB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.5092, allocations: 136 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5092, allocations: 25.7 kB / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.5093, allocations: 96.12 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.5093, allocations: 4 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.5093, allocations: 13.72 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.5094, allocations: 318.8 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.5095, allocations: 8 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.5095, allocations: 8 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.5095, allocations: 16.8 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5095, allocations: 0 / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.885e-05/0.5096, allocations: 57.53 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5096, allocations: 8 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5097, allocations: 4.062 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5097, allocations: 4 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.5097, allocations: 3.938 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.5097, allocations: 0 / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.5097, allocations: 7.844 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.5097, allocations: 0 / 1.029 GB, free: 5.906 MB / 0.7794 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 7.136e-05/0.5098, allocations: 185.1 kB / 1.03 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.5099, allocations: 112.9 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.5099, allocations: 112.9 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/0.51, allocations: 184.3 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-05/0.51, allocations: 188.2 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/0.5101, allocations: 176.3 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5103, allocations: 421.1 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.5103, allocations: 105 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.5103, allocations: 105 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.504e-05/0.5104, allocations: 180.2 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.5104, allocations: 176.3 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.264e-05/0.5105, allocations: 188.2 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.028e-05/0.5106, allocations: 176.3 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.5107, allocations: 323.5 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.5107, allocations: 190 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.5108, allocations: 184.2 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.5109, allocations: 101 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.5109, allocations: 192.2 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.511, allocations: 101 kB / 1.033 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.511, allocations: 100.2 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.511, allocations: 0 / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005518/0.5116, allocations: 279.8 kB / 1.033 GB, free: 1.984 MB / 0.7794 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.001072/0.5127, allocations: 1.187 MB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.5128, allocations: 41.69 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5128, allocations: 0 / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.5128, allocations: 0 / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.5131, allocations: 466.3 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5143, allocations: 1.576 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.5145, allocations: 0.6885 MB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.5145, allocations: 0 / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.5145, allocations: 19.42 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5145, allocations: 0 / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.368/1.883, allocations: 7.076 MB / 1.044 GB, free: 6.984 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/10.95, allocations: 15.84 kB / 1.044 GB, free: 6.973 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)