Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001131/0.001131, allocations: 179.8 kB / 371.8 MB, free: 10.29 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.633/1.633, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009696/0.0009696, allocations: 94.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 11.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2438, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/1.019, allocations: 141.1 MB / 1.117 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.019, allocations: 90.33 kB / 1.117 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/1.031, allocations: 3.379 MB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.031, allocations: 0 / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.031, allocations: 4 kB / 1.121 GB, free: 31.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.0003812/1.032, allocations: 388 kB / 1.121 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.032, allocations: 11.56 kB / 1.121 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/1.032, allocations: 105.8 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/1.032, allocations: 77.98 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.032, allocations: 263.2 kB / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/1.032, allocations: 154.6 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/1.032, allocations: 154.4 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.959e-05/1.032, allocations: 108.4 kB / 1.122 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.032, allocations: 75.28 kB / 1.122 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/1.032, allocations: 150.6 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/1.032, allocations: 163.7 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/1.032, allocations: 150.6 kB / 1.122 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/1.033, allocations: 467.1 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/1.033, allocations: 169.1 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.033, allocations: 83.16 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.033, allocations: 108.3 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.033, allocations: 0 / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.13e-05/1.033, allocations: 29.55 kB / 1.123 GB, free: 29.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.033, allocations: 126.7 kB / 1.123 GB, free: 28.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/1.033, allocations: 129.4 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/1.033, allocations: 29.52 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/1.033, allocations: 93.73 kB / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/1.033, allocations: 0 / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/1.033, allocations: 0 / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/1.033, allocations: 321.2 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/1.033, allocations: 8.031 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/1.033, allocations: 3.5 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/1.033, allocations: 7.812 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.033, allocations: 0 / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/1.034, allocations: 55.38 kB / 1.124 GB, free: 28.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.034, allocations: 13 kB / 1.124 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.034, allocations: 4 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.034, allocations: 0 / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/1.034, allocations: 0 / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.034, allocations: 6.609 kB / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/1.034, allocations: 0 / 1.124 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.034, allocations: 0 / 1.124 GB, free: 28.3 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 8.521e-05/1.034, allocations: 188.2 kB / 1.124 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/1.034, allocations: 116.8 kB / 1.124 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/1.034, allocations: 111.5 kB / 1.124 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/1.034, allocations: 183.6 kB / 1.125 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-05/1.034, allocations: 180.1 kB / 1.125 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.034, allocations: 179.9 kB / 1.125 GB, free: 27.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/1.034, allocations: 414.8 kB / 1.125 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/1.034, allocations: 111.8 kB / 1.125 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/1.034, allocations: 104.9 kB / 1.125 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-05/1.034, allocations: 180.2 kB / 1.126 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/1.034, allocations: 180.1 kB / 1.126 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.307e-05/1.034, allocations: 186.2 kB / 1.126 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.991e-05/1.035, allocations: 180.3 kB / 1.126 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/1.035, allocations: 307.7 kB / 1.126 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/1.035, allocations: 185.9 kB / 1.127 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/1.035, allocations: 188.1 kB / 1.127 GB, free: 25.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/1.035, allocations: 108.3 kB / 1.127 GB, free: 25.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/1.035, allocations: 184.2 kB / 1.127 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.035, allocations: 101 kB / 1.127 GB, free: 24.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.152e-05/1.035, allocations: 98.47 kB / 1.127 GB, free: 24.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.035, allocations: 0 / 1.127 GB, free: 24.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002897/1.035, allocations: 49.22 kB / 1.127 GB, free: 24.76 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.0005129/1.036, allocations: 0.8708 MB / 1.128 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.723e-05/1.036, allocations: 33.02 kB / 1.128 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.036, allocations: 0 / 1.128 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/1.036, allocations: 3.875 kB / 1.128 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.036, allocations: 0.531 MB / 1.129 GB, free: 23.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/1.037, allocations: 463.3 kB / 1.129 GB, free: 22.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/1.037, allocations: 0.6857 MB / 1.13 GB, free: 22.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.761e-05/1.037, allocations: 3.188 kB / 1.13 GB, free: 22.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/1.037, allocations: 17.78 kB / 1.13 GB, free: 22.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.037, allocations: 4 kB / 1.13 GB, free: 22.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/1.05, allocations: 2.318 MB / 1.132 GB, free: 22.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.05, allocations: 223.4 kB / 1.132 GB, free: 21.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.538, allocations: 6.672 kB / 1.132 GB, free: 21.83 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)