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.007049/0.007049, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001385/0.001385, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.437/2.437, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.19 kB / 0.9505 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00301/0.2709, allocations: 1.445 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.2757, allocations: 2.885 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.2758, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.2759, allocations: 7.938 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.276, allocations: 15.84 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005/0.281, allocations: 1.579 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2811, allocations: 39.75 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.2812, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.2812, allocations: 15.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.2813, allocations: 15.88 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2813, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.2844, allocations: 1.54 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2845, allocations: 3.938 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.2845, allocations: 19.88 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.287, allocations: 1.1 MB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2871, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2871, allocations: 4 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2871, allocations: 3.938 kB / 1.096 GB, free: 9.281 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.001128/0.2882, allocations: 0.5146 MB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.2883, allocations: 8.031 kB / 1.097 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.2884, allocations: 110 kB / 1.097 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2885, allocations: 88.11 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.2887, allocations: 247.5 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/0.2888, allocations: 154.9 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.2889, allocations: 150.9 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.289, allocations: 108.9 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.2891, allocations: 79.28 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.2892, allocations: 150.6 kB / 1.098 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/0.2892, allocations: 150.6 kB / 1.098 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.2893, allocations: 154.6 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.2898, allocations: 465.8 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2899, allocations: 173.1 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.29, allocations: 84.12 kB / 1.099 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.29, allocations: 83.22 kB / 1.099 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.643e-05/0.2901, allocations: 109.8 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2901, allocations: 0 / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001184/0.2902, allocations: 25.7 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.2903, allocations: 130.7 kB / 1.099 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2905, allocations: 136.1 kB / 1.099 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2906, allocations: 25.7 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.2907, allocations: 104.1 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.2907, allocations: 0 / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.2907, allocations: 13.72 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2909, allocations: 322.8 kB / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.2909, allocations: 8 kB / 1.099 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.2909, allocations: 11.94 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.291, allocations: 12.86 kB / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.291, allocations: 0 / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001532/0.2911, allocations: 53.73 kB / 1.1 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2912, allocations: 11.98 kB / 1.1 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.2912, allocations: 0 / 1.1 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2912, allocations: 4 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.2912, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2912, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.2913, allocations: 7.906 kB / 1.1 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2913, allocations: 3.938 kB / 1.1 GB, free: 5.402 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 0.0001168/0.2914, allocations: 185.1 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.2915, allocations: 112.9 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.2916, allocations: 116.8 kB / 1.1 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/0.2916, allocations: 184.1 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/0.2917, allocations: 184.3 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.531e-05/0.2918, allocations: 180.2 kB / 1.101 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.292, allocations: 417.1 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.2921, allocations: 105 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.2921, allocations: 104.9 kB / 1.101 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.663e-05/0.2922, allocations: 180.3 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.123e-05/0.2922, allocations: 180.2 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.595e-05/0.2923, allocations: 180.3 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-05/0.2924, allocations: 184.2 kB / 1.102 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2925, allocations: 307.7 kB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/0.2926, allocations: 189.9 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.2927, allocations: 184.2 kB / 1.102 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.2928, allocations: 105 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.2929, allocations: 184.2 kB / 1.103 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.293, allocations: 105 kB / 1.103 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.293, allocations: 95.27 kB / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.293, allocations: 0 / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001066/0.2941, allocations: 283.8 kB / 1.103 GB, free: 1.488 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.001748/0.2959, allocations: 1.183 MB / 1.104 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.296, allocations: 37.7 kB / 1.104 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.296, allocations: 4.062 kB / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.296, allocations: 368 / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.2965, allocations: 478.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.001653/0.2982, allocations: 1.59 MB / 1.106 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2985, allocations: 0.6846 MB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.2985, allocations: 0 / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.2986, allocations: 20.8 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/0.2986, allocations: 0 / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.327, allocations: 7.068 MB / 1.114 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.088, allocations: 14.62 kB / 1.114 GB, free: 6.5 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)