Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 249.3 MB / 261.8 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009199/0.0009198, allocations: 86.59 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.808e-05, allocations: 4 kB / 0.7881 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 106.3 MB / 0.8919 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.18, allocations: 152.9 MB / 1.041 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004869/1.18, allocations: 115.3 kB / 1.041 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04881/1.229, allocations: 15.28 MB / 1.056 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/1.229, allocations: 4 kB / 1.056 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.229, allocations: 4 kB / 1.056 GB, free: 0.5938 MB / 0.6667 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.001221/1.23, allocations: 0.5541 MB / 1.057 GB, free: 4 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.151e-05/1.23, allocations: 8.078 kB / 1.057 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/1.23, allocations: 105.8 kB / 1.057 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/1.231, allocations: 87.45 kB / 1.057 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.231, allocations: 242.3 kB / 1.057 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/1.231, allocations: 154.6 kB / 1.057 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/1.231, allocations: 158.5 kB / 1.058 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/1.231, allocations: 107.4 kB / 1.058 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/1.231, allocations: 75.28 kB / 1.058 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/1.231, allocations: 150.6 kB / 1.058 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/1.231, allocations: 150.6 kB / 1.058 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/1.231, allocations: 154.6 kB / 1.058 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/1.232, allocations: 467.8 kB / 1.059 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/1.232, allocations: 169.1 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/1.232, allocations: 84.14 kB / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/1.232, allocations: 79.28 kB / 1.059 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/1.232, allocations: 105.8 kB / 1.059 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/1.232, allocations: 0 / 1.059 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/1.232, allocations: 33.61 kB / 1.059 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.232, allocations: 133.1 kB / 1.059 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/1.232, allocations: 126.4 kB / 1.059 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.232, allocations: 29.27 kB / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/1.232, allocations: 87.33 kB / 1.059 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-06/1.232, allocations: 4 kB / 1.059 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.232, allocations: 0 / 1.059 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.233, allocations: 325.6 kB / 1.06 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/1.233, allocations: 6.688 kB / 1.06 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/1.233, allocations: 7.125 kB / 1.06 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/1.233, allocations: 4 kB / 1.06 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.233, allocations: 0 / 1.06 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/1.233, allocations: 48.8 kB / 1.06 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.233, allocations: 8.062 kB / 1.06 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/1.233, allocations: 7.984 kB / 1.06 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.233, allocations: 0 / 1.06 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-06/1.233, allocations: 4.047 kB / 1.06 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.233, allocations: 7.938 kB / 1.06 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.233, allocations: 0 / 1.06 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.233, allocations: 4 kB / 1.06 GB, free: 12.79 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.233, allocations: 183.3 kB / 1.06 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/1.233, allocations: 116.8 kB / 1.06 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/1.233, allocations: 108.7 kB / 1.06 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-05/1.233, allocations: 195.9 kB / 1.06 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.761e-05/1.234, allocations: 176.3 kB / 1.061 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-05/1.234, allocations: 180.2 kB / 1.061 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/1.234, allocations: 415.8 kB / 1.061 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/1.234, allocations: 105 kB / 1.061 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/1.234, allocations: 108.9 kB / 1.061 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.465e-05/1.234, allocations: 176.3 kB / 1.061 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.234, allocations: 184.2 kB / 1.062 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001167/1.234, allocations: 176.3 kB / 1.062 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001398/1.235, allocations: 188 kB / 1.062 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/1.235, allocations: 307.7 kB / 1.062 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.235, allocations: 189.2 kB / 1.062 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.235, allocations: 180.2 kB / 1.063 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.235, allocations: 113.9 kB / 1.063 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.235, allocations: 180.3 kB / 1.063 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/1.235, allocations: 101 kB / 1.063 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.891e-05/1.235, allocations: 108.4 kB / 1.063 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/1.235, allocations: 0 / 1.063 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001583/1.237, allocations: 322.1 kB / 1.063 GB, free: 8.871 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001647/1.239, allocations: 1.213 MB / 1.065 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001369/1.239, allocations: 49.31 kB / 1.065 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.239, allocations: 0 / 1.065 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/1.239, allocations: 0 / 1.065 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/1.239, allocations: 0.5263 MB / 1.065 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/1.24, allocations: 344.2 kB / 1.066 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.24, allocations: 0.6887 MB / 1.066 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.473e-05/1.24, allocations: 0 / 1.066 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/1.24, allocations: 22.69 kB / 1.066 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/1.24, allocations: 0 / 1.066 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/1.263, allocations: 6.606 MB / 1.073 GB, free: 15.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/1.264, allocations: 287.2 kB / 1.073 GB, free: 15.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.221, allocations: 7.797 kB / 1.073 GB, free: 15.16 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)