Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.642/2.642, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001565/0.001565, allocations: 182.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 94.95 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007122, allocations: 12.55 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2323, allocations: 115.3 MB / 0.9783 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9382/1.171, allocations: 158.5 MB / 1.133 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004178/1.171, allocations: 124.5 kB / 1.133 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06765/1.239, allocations: 14.73 MB / 1.148 GB, free: 23.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/1.239, allocations: 0 / 1.148 GB, free: 23.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.239, allocations: 3.906 kB / 1.148 GB, free: 23.7 MB / 0.698 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.001134/1.24, allocations: 0.5725 MB / 1.148 GB, free: 23.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.24, allocations: 15.47 kB / 1.148 GB, free: 23.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/1.24, allocations: 109.8 kB / 1.148 GB, free: 23.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/1.24, allocations: 79.23 kB / 1.148 GB, free: 22.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/1.24, allocations: 256.9 kB / 1.149 GB, free: 22.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/1.24, allocations: 150.6 kB / 1.149 GB, free: 22.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/1.24, allocations: 154.4 kB / 1.149 GB, free: 22.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.338e-05/1.24, allocations: 108.9 kB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/1.241, allocations: 75.28 kB / 1.149 GB, free: 22.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/1.241, allocations: 150.6 kB / 1.149 GB, free: 22.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/1.241, allocations: 150.6 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/1.241, allocations: 150.6 kB / 1.149 GB, free: 21.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/1.241, allocations: 470.7 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/1.241, allocations: 176.9 kB / 1.15 GB, free: 21.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.241, allocations: 75.28 kB / 1.15 GB, free: 21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.241, allocations: 109 kB / 1.15 GB, free: 20.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/1.241, allocations: 4 kB / 1.15 GB, free: 20.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.728e-05/1.241, allocations: 37.47 kB / 1.15 GB, free: 20.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/1.241, allocations: 126.7 kB / 1.15 GB, free: 20.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/1.242, allocations: 113.3 kB / 1.151 GB, free: 20.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.242, allocations: 29.64 kB / 1.151 GB, free: 20.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/1.242, allocations: 93.91 kB / 1.151 GB, free: 20.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/1.242, allocations: 0 / 1.151 GB, free: 20.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/1.242, allocations: 0 / 1.151 GB, free: 20.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.242, allocations: 325.4 kB / 1.151 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/1.242, allocations: 3.438 kB / 1.151 GB, free: 20.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/1.242, allocations: 3.812 kB / 1.151 GB, free: 20.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/1.242, allocations: 11.73 kB / 1.151 GB, free: 20.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.242, allocations: 0 / 1.151 GB, free: 20.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/1.242, allocations: 48.39 kB / 1.151 GB, free: 20.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.242, allocations: 3.906 kB / 1.151 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.242, allocations: 3.844 kB / 1.151 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.242, allocations: 0 / 1.151 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/1.242, allocations: 0 / 1.151 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.242, allocations: 8.047 kB / 1.151 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/1.242, allocations: 3.844 kB / 1.151 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/1.242, allocations: 3.984 kB / 1.151 GB, free: 20.11 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.242, allocations: 192.5 kB / 1.151 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/1.242, allocations: 108.7 kB / 1.151 GB, free: 19.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/1.243, allocations: 108.7 kB / 1.151 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/1.243, allocations: 184.2 kB / 1.152 GB, free: 19.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-05/1.243, allocations: 183.5 kB / 1.152 GB, free: 19.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-05/1.243, allocations: 180.2 kB / 1.152 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/1.243, allocations: 419.9 kB / 1.152 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/1.243, allocations: 101 kB / 1.152 GB, free: 18.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/1.243, allocations: 112.9 kB / 1.153 GB, free: 18.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.658e-05/1.243, allocations: 180.3 kB / 1.153 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/1.243, allocations: 184.2 kB / 1.153 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/1.243, allocations: 176.3 kB / 1.153 GB, free: 17.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.931e-05/1.243, allocations: 184.1 kB / 1.153 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/1.244, allocations: 320.2 kB / 1.154 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/1.244, allocations: 186 kB / 1.154 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/1.244, allocations: 184.1 kB / 1.154 GB, free: 17.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.244, allocations: 105 kB / 1.154 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/1.244, allocations: 180.2 kB / 1.154 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/1.244, allocations: 101 kB / 1.154 GB, free: 16.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.11e-05/1.244, allocations: 108.6 kB / 1.154 GB, free: 16.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.244, allocations: 0 / 1.154 GB, free: 16.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001238/1.245, allocations: 323.2 kB / 1.155 GB, free: 16.43 MB / 0.698 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 (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.001987/1.247, allocations: 1.199 MB / 1.156 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001416/1.248, allocations: 33.39 kB / 1.156 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.248, allocations: 0 / 1.156 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/1.248, allocations: 7.938 kB / 1.156 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/1.248, allocations: 0.5312 MB / 1.156 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/1.249, allocations: 0.5987 MB / 1.157 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/1.249, allocations: 0.6883 MB / 1.158 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.375e-05/1.249, allocations: 3.984 kB / 1.158 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/1.25, allocations: 11.38 kB / 1.158 GB, free: 13.63 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.25, allocations: 3.938 kB / 1.158 GB, free: 13.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/1.281, allocations: 6.384 MB / 1.164 GB, free: 8.898 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004199/1.281, allocations: 307.8 kB / 1.164 GB, free: 8.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.946, allocations: 4 kB / 1.164 GB, free: 8.531 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)