Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.005416/0.00542, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.001464/0.001464, allocations: 193.8 kB / 16.67 MB, free: 5.922 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 65.39 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2754, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002288/0.2777, allocations: 1.431 MB / 1.243 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004037/0.2817, allocations: 2.853 MB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.2818, allocations: 0 / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.2818, allocations: 7.922 kB / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.2819, allocations: 7.875 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.2854, allocations: 1.568 MB / 1.248 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.2855, allocations: 43.67 kB / 1.248 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.2855, allocations: 11.98 kB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.2856, allocations: 11.94 kB / 1.248 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.2856, allocations: 19.92 kB / 1.248 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.2856, allocations: 0 / 1.248 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.2877, allocations: 1.486 MB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.2878, allocations: 11.92 kB / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.2878, allocations: 15.88 kB / 1.249 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2892, allocations: 1.081 MB / 1.25 GB, free: 356 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2892, allocations: 0 / 1.25 GB, free: 356 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2892, allocations: 4 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.2892, allocations: 0 / 1.25 GB, free: 352 kB / 0.9669 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.0006091/0.2899, allocations: 0.5363 MB / 1.251 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2899, allocations: 8.031 kB / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.29, allocations: 106 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.29, allocations: 84.17 kB / 1.251 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2902, allocations: 247.6 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.2903, allocations: 158.9 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.2903, allocations: 154.9 kB / 1.252 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.491e-05/0.2904, allocations: 104.9 kB / 1.252 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.2905, allocations: 75.28 kB / 1.252 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.2905, allocations: 154.5 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.2906, allocations: 154.6 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.2907, allocations: 158.5 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.291, allocations: 461.9 kB / 1.253 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.2911, allocations: 169.1 kB / 1.253 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.2911, allocations: 80.14 kB / 1.253 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2911, allocations: 83.22 kB / 1.253 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.2912, allocations: 109.8 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2912, allocations: 0 / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.184e-05/0.2913, allocations: 37.59 kB / 1.253 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.2913, allocations: 126.7 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2915, allocations: 127.7 kB / 1.253 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2915, allocations: 29.64 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2916, allocations: 100.1 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2916, allocations: 0 / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2916, allocations: 13.72 kB / 1.253 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2917, allocations: 318.8 kB / 1.254 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.2918, allocations: 3.938 kB / 1.254 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.2918, allocations: 11.98 kB / 1.254 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.2918, allocations: 12.86 kB / 1.254 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2918, allocations: 0 / 1.254 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.292, allocations: 57.56 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.292, allocations: 7.984 kB / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.292, allocations: 4 kB / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.292, allocations: 0 / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.292, allocations: 0 / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.292, allocations: 0 / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.2921, allocations: 4.047 kB / 1.254 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2921, allocations: 0 / 1.254 GB, free: 12.46 MB / 0.9825 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 9.974e-05/0.2922, allocations: 185.7 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.2923, allocations: 116.9 kB / 1.254 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.2923, allocations: 120.8 kB / 1.254 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/0.2924, allocations: 176.3 kB / 1.254 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-05/0.2925, allocations: 184.2 kB / 1.255 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-05/0.2925, allocations: 176.3 kB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2928, allocations: 421.2 kB / 1.255 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/0.2928, allocations: 108.9 kB / 1.255 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.2929, allocations: 101 kB / 1.255 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-05/0.293, allocations: 184.2 kB / 1.256 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.2931, allocations: 176.3 kB / 1.256 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.745e-05/0.2931, allocations: 176.3 kB / 1.256 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-05/0.2932, allocations: 188.2 kB / 1.256 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.2934, allocations: 315.7 kB / 1.256 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.2934, allocations: 178.1 kB / 1.257 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.2935, allocations: 180.2 kB / 1.257 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.2936, allocations: 120.9 kB / 1.257 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.2937, allocations: 176.3 kB / 1.257 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.2937, allocations: 104.9 kB / 1.257 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.2938, allocations: 97.61 kB / 1.257 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2938, allocations: 0 / 1.257 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007151/0.2945, allocations: 287 kB / 1.257 GB, free: 8.551 MB / 0.9825 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.001302/0.2958, allocations: 1.171 MB / 1.259 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.296, allocations: 41.64 kB / 1.259 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.296, allocations: 0 / 1.259 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.296, allocations: 0 / 1.259 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2964, allocations: 463.8 kB / 1.259 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2977, allocations: 1.593 MB / 1.261 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.298, allocations: 0.6846 MB / 1.261 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.2981, allocations: 4.031 kB / 1.261 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.2981, allocations: 15.44 kB / 1.261 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2981, allocations: 0 / 1.261 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3399/0.638, allocations: 6.901 MB / 1.268 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.91, allocations: 7.125 kB / 1.268 GB, free: 13.75 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)