Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 178.5 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 90.36 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.97e-05, allocations: 4 kB / 0.8664 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2834, allocations: 116.3 MB / 0.9799 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.203, allocations: 159.4 MB / 1.136 GB, free: 31.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.203, allocations: 119.7 kB / 1.136 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04559/1.249, allocations: 14.95 MB / 1.15 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/1.249, allocations: 0 / 1.15 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.249, allocations: 0 / 1.15 GB, free: 23.04 MB / 0.7448 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.001095/1.25, allocations: 0.5493 MB / 1.151 GB, free: 22.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.25, allocations: 12.59 kB / 1.151 GB, free: 22.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/1.25, allocations: 107.6 kB / 1.151 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/1.25, allocations: 82.41 kB / 1.151 GB, free: 22.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.25, allocations: 255.2 kB / 1.151 GB, free: 21.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.25, allocations: 150.6 kB / 1.151 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/1.25, allocations: 157.3 kB / 1.152 GB, free: 21.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.503e-05/1.25, allocations: 107.4 kB / 1.152 GB, free: 21.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.25, allocations: 75.28 kB / 1.152 GB, free: 21.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/1.25, allocations: 150.6 kB / 1.152 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/1.25, allocations: 150.6 kB / 1.152 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/1.25, allocations: 155.2 kB / 1.152 GB, free: 21.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/1.25, allocations: 476.2 kB / 1.153 GB, free: 20.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/1.251, allocations: 165.1 kB / 1.153 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/1.251, allocations: 84.12 kB / 1.153 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/1.251, allocations: 83.88 kB / 1.153 GB, free: 20.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.251, allocations: 105.8 kB / 1.153 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.251, allocations: 4 kB / 1.153 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.215e-05/1.251, allocations: 38.91 kB / 1.153 GB, free: 20.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.251, allocations: 129.5 kB / 1.153 GB, free: 19.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.251, allocations: 113.4 kB / 1.153 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/1.251, allocations: 25.7 kB / 1.153 GB, free: 19.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/1.251, allocations: 93.17 kB / 1.153 GB, free: 19.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/1.251, allocations: 0 / 1.153 GB, free: 19.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/1.251, allocations: 0 / 1.153 GB, free: 19.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/1.251, allocations: 329.2 kB / 1.154 GB, free: 19.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/1.251, allocations: 0 / 1.154 GB, free: 19.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/1.251, allocations: 7.438 kB / 1.154 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/1.251, allocations: 5.359 kB / 1.154 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.251, allocations: 0.5625 kB / 1.154 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/1.251, allocations: 55.8 kB / 1.154 GB, free: 19.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.251, allocations: 4 kB / 1.154 GB, free: 19.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.251, allocations: 4 kB / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.251, allocations: 0 / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/1.251, allocations: 0.875 kB / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.251, allocations: 5.797 kB / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/1.251, allocations: 0 / 1.154 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.251, allocations: 4 kB / 1.154 GB, free: 19.3 MB / 0.7448 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 5.395e-05/1.251, allocations: 180.2 kB / 1.154 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.251, allocations: 110 kB / 1.154 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/1.252, allocations: 109.8 kB / 1.154 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/1.252, allocations: 185.2 kB / 1.154 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-05/1.252, allocations: 190.2 kB / 1.155 GB, free: 18.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.252, allocations: 177.2 kB / 1.155 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/1.252, allocations: 413.7 kB / 1.155 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.252, allocations: 108.9 kB / 1.155 GB, free: 17.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/1.252, allocations: 102.7 kB / 1.155 GB, free: 17.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/1.252, allocations: 184.2 kB / 1.156 GB, free: 17.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/1.252, allocations: 177.5 kB / 1.156 GB, free: 17.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-05/1.252, allocations: 184.9 kB / 1.156 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-05/1.252, allocations: 180.2 kB / 1.156 GB, free: 16.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/1.252, allocations: 318.1 kB / 1.156 GB, free: 16.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/1.252, allocations: 186 kB / 1.157 GB, free: 16.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/1.252, allocations: 179.1 kB / 1.157 GB, free: 16.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/1.252, allocations: 105.8 kB / 1.157 GB, free: 16.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/1.252, allocations: 185 kB / 1.157 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/1.252, allocations: 105.5 kB / 1.157 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.143e-05/1.252, allocations: 102 kB / 1.157 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.252, allocations: 0 / 1.157 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001293/1.254, allocations: 324.2 kB / 1.158 GB, free: 15.43 MB / 0.7448 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.001436/1.255, allocations: 1.21 MB / 1.159 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.312e-05/1.255, allocations: 41.39 kB / 1.159 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.255, allocations: 0.8438 kB / 1.159 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/1.255, allocations: 0 / 1.159 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.256, allocations: 0.5278 MB / 1.159 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/1.256, allocations: 340.1 kB / 1.16 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/1.257, allocations: 0.6877 MB / 1.16 GB, free: 28.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.606e-05/1.257, allocations: 0 / 1.16 GB, free: 28.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/1.257, allocations: 15.91 kB / 1.16 GB, free: 28.64 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/1.257, allocations: 0 / 1.16 GB, free: 28.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/1.278, allocations: 6.46 MB / 1.167 GB, free: 23.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.278, allocations: 265.4 kB / 1.167 GB, free: 23.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/3.101, allocations: 0.6562 kB / 1.167 GB, free: 23.1 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)