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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.594/1.594, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001249/0.001248, allocations: 178.6 kB / 321.3 MB, free: 14.64 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.729/1.729, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.001007/0.001007, allocations: 92.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.741e-05, allocations: 8 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2342, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.083, allocations: 152.2 MB / 1.041 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/1.083, allocations: 116.3 kB / 1.041 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04665/1.13, allocations: 14.94 MB / 1.055 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.372e-06/1.13, allocations: 0 / 1.055 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.13, allocations: 0 / 1.055 GB, free: 1.582 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.001092/1.131, allocations: 0.5584 MB / 1.056 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.131, allocations: 8.031 kB / 1.056 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/1.131, allocations: 105.8 kB / 1.056 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/1.131, allocations: 87.45 kB / 1.056 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.132, allocations: 242.3 kB / 1.056 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/1.132, allocations: 150.6 kB / 1.056 GB, free: 364 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/1.132, allocations: 154.6 kB / 1.056 GB, free: 208 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/1.132, allocations: 104.2 kB / 1.057 GB, free: 100 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/1.132, allocations: 79.28 kB / 1.057 GB, free: 20 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/1.132, allocations: 154.5 kB / 1.057 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/1.132, allocations: 158.5 kB / 1.057 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/1.132, allocations: 150.6 kB / 1.057 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/1.133, allocations: 473.2 kB / 1.058 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/1.133, allocations: 165.1 kB / 1.058 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/1.133, allocations: 83.14 kB / 1.058 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/1.133, allocations: 75.28 kB / 1.058 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/1.133, allocations: 117.8 kB / 1.058 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/1.133, allocations: 3.984 kB / 1.058 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.061e-05/1.133, allocations: 29.61 kB / 1.058 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.133, allocations: 126.7 kB / 1.058 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/1.133, allocations: 119.9 kB / 1.058 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/1.133, allocations: 25.7 kB / 1.058 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/1.133, allocations: 98.73 kB / 1.058 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/1.133, allocations: 4 kB / 1.058 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.133, allocations: 0 / 1.058 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.134, allocations: 318.1 kB / 1.059 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/1.134, allocations: 7.938 kB / 1.059 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/1.134, allocations: 7.938 kB / 1.059 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/1.134, allocations: 7.938 kB / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.134, allocations: 0 / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001686/1.134, allocations: 48.84 kB / 1.059 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.134, allocations: 8 kB / 1.059 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/1.134, allocations: 0 / 1.059 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.134, allocations: 8.062 kB / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/1.134, allocations: 0 / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.134, allocations: 0 / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/1.134, allocations: 0 / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.134, allocations: 0 / 1.059 GB, free: 13.78 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.0001601/1.134, allocations: 191.5 kB / 1.059 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.134, allocations: 108.8 kB / 1.059 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/1.134, allocations: 116.4 kB / 1.059 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/1.134, allocations: 176.5 kB / 1.059 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/1.135, allocations: 191.6 kB / 1.06 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-05/1.135, allocations: 180.3 kB / 1.06 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/1.135, allocations: 412.5 kB / 1.06 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.479e-05/1.135, allocations: 104.2 kB / 1.06 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/1.135, allocations: 109 kB / 1.06 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/1.135, allocations: 184.2 kB / 1.06 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.135, allocations: 176.3 kB / 1.061 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.85e-05/1.136, allocations: 180.2 kB / 1.061 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.97e-05/1.136, allocations: 180.3 kB / 1.061 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/1.136, allocations: 315 kB / 1.061 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.136, allocations: 182 kB / 1.061 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.136, allocations: 187.6 kB / 1.062 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.136, allocations: 102 kB / 1.062 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/1.136, allocations: 180.2 kB / 1.062 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/1.136, allocations: 109 kB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.311e-05/1.136, allocations: 99.38 kB / 1.062 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/1.136, allocations: 0 / 1.062 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001333/1.138, allocations: 322.4 kB / 1.062 GB, free: 9.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.001621/1.139, allocations: 1.216 MB / 1.064 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/1.139, allocations: 41.08 kB / 1.064 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/1.139, allocations: 4 kB / 1.064 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.139, allocations: 0 / 1.064 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/1.14, allocations: 0.5273 MB / 1.064 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/1.14, allocations: 345 kB / 1.064 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/1.141, allocations: 0.6848 MB / 1.065 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.488e-05/1.141, allocations: 8.031 kB / 1.065 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/1.141, allocations: 10.94 kB / 1.065 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/1.141, allocations: 0 / 1.065 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/1.161, allocations: 6.448 MB / 1.071 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/1.162, allocations: 277.9 kB / 1.072 GB, free: 376 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.127, allocations: 0 / 1.072 GB, free: 376 kB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)