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.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 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.009358/0.009357, allocations: 99.14 kB / 15.73 MB, free: 6.047 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.00187/0.00187, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.47 kB / 0.9505 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 140.4 MB / 1.088 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002787/0.2786, allocations: 1.424 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.2832, allocations: 2.858 MB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.2833, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.2833, allocations: 3.938 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.2834, allocations: 15.84 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004186/0.2876, allocations: 1.564 MB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.2877, allocations: 35.75 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.2878, allocations: 7.984 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.2878, allocations: 11.94 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.133e-05/0.2879, allocations: 23.86 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.2879, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.2901, allocations: 1.482 MB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2901, allocations: 0 / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.2902, allocations: 23.86 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2919, allocations: 1.081 MB / 1.096 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2919, allocations: 0 / 1.096 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2919, allocations: 0 / 1.096 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2919, allocations: 0 / 1.096 GB, free: 9.551 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.0006755/0.2926, allocations: 0.5068 MB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2926, allocations: 12.03 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.2927, allocations: 106 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.2927, allocations: 80.12 kB / 1.097 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2929, allocations: 253.4 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.2929, allocations: 150.9 kB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.293, allocations: 154.9 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.2931, allocations: 112.9 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.2931, allocations: 75.28 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.2932, allocations: 150.6 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.2932, allocations: 158.5 kB / 1.098 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.2933, allocations: 150.6 kB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.2936, allocations: 461.9 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.2936, allocations: 169.1 kB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.2937, allocations: 88.14 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.2937, allocations: 83.2 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2937, allocations: 105.8 kB / 1.099 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2938, allocations: 0 / 1.099 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.894e-05/0.2938, allocations: 45.53 kB / 1.099 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.2939, allocations: 130.6 kB / 1.099 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.294, allocations: 129.8 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2941, allocations: 25.7 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.2941, allocations: 96.05 kB / 1.099 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2941, allocations: 0 / 1.099 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.2942, allocations: 17.7 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.2943, allocations: 314.8 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.2943, allocations: 4 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.2943, allocations: 4 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.2943, allocations: 20.88 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2944, allocations: 0 / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.2945, allocations: 49.58 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2945, allocations: 10.19 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.2945, allocations: 0 / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2945, allocations: 4 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.2946, allocations: 0 / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2946, allocations: 0 / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.2946, allocations: 11.83 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2946, allocations: 4 kB / 1.099 GB, free: 5.691 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.888e-05/0.2947, allocations: 189.2 kB / 1.1 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.2948, allocations: 108.9 kB / 1.1 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.2948, allocations: 112.8 kB / 1.1 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-05/0.2949, allocations: 184.2 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/0.2949, allocations: 176.3 kB / 1.1 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/0.295, allocations: 188.2 kB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2952, allocations: 409.2 kB / 1.101 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/0.2953, allocations: 108.9 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.2953, allocations: 112.9 kB / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.044e-05/0.2954, allocations: 176.3 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.2954, allocations: 180.2 kB / 1.101 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.104e-05/0.2955, allocations: 184.3 kB / 1.101 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.97e-05/0.2955, allocations: 180.2 kB / 1.102 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2957, allocations: 311.7 kB / 1.102 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.2957, allocations: 189.9 kB / 1.102 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.2958, allocations: 180.3 kB / 1.102 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.2959, allocations: 108.9 kB / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.296, allocations: 184.2 kB / 1.103 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.296, allocations: 105 kB / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.2961, allocations: 99.2 kB / 1.103 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2961, allocations: 0 / 1.103 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007823/0.2969, allocations: 275.8 kB / 1.103 GB, free: 1.781 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.001417/0.2983, allocations: 1.156 MB / 1.104 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.2984, allocations: 37.7 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2984, allocations: 4.062 kB / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.2984, allocations: 3.938 kB / 1.104 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2988, allocations: 468.3 kB / 1.105 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3003, allocations: 1.573 MB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3005, allocations: 0.6884 MB / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.3005, allocations: 0 / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3006, allocations: 15.42 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.3006, allocations: 0 / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3257, allocations: 6.894 MB / 1.114 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.308, allocations: 3.375 kB / 1.114 GB, free: 7.027 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)