Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 179.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.001072/0.001072, allocations: 92.39 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003938, allocations: 11.5 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.3948, allocations: 134.8 MB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.3951, allocations: 91.94 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.4079, allocations: 3.369 MB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4079, allocations: 0 / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.408, allocations: 0 / 1.035 GB, free: 5.914 MB / 0.6823 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.0003945/0.4084, allocations: 383 kB / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4084, allocations: 8.031 kB / 1.036 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.4085, allocations: 113.8 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.4085, allocations: 84.02 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.4088, allocations: 270.4 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.4088, allocations: 150.6 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.4089, allocations: 158.5 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.215e-05/0.409, allocations: 101 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.409, allocations: 75.28 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.4091, allocations: 154.5 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.4091, allocations: 150.6 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.4092, allocations: 158.5 kB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.4095, allocations: 461.9 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.4095, allocations: 175 kB / 1.038 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4096, allocations: 79.28 kB / 1.038 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.4096, allocations: 109.8 kB / 1.038 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4096, allocations: 0 / 1.038 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.216e-05/0.4097, allocations: 37.55 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.4098, allocations: 126.7 kB / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4099, allocations: 128.1 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4099, allocations: 25.7 kB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.41, allocations: 88.14 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.41, allocations: 0 / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.41, allocations: 0 / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.4101, allocations: 322.8 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.4101, allocations: 4 kB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.4101, allocations: 4 kB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.4101, allocations: 8 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4102, allocations: 3.953 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000108/0.4103, allocations: 49.53 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4103, allocations: 4 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4103, allocations: 4 kB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4103, allocations: 0 / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.4103, allocations: 4.062 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4104, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.4104, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4104, allocations: 4 kB / 1.038 GB, free: 2.312 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 () * 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 9.506e-05/0.4105, allocations: 191 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.4106, allocations: 112.8 kB / 1.039 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4106, allocations: 120.8 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/0.4107, allocations: 184.3 kB / 1.039 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.682e-05/0.4107, allocations: 180.2 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/0.4108, allocations: 184.2 kB / 1.039 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.411, allocations: 413.2 kB / 1.04 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.411, allocations: 104.9 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.4111, allocations: 108.9 kB / 1.04 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-05/0.4111, allocations: 188.2 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.4112, allocations: 180.2 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.951e-05/0.4113, allocations: 180.2 kB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-05/0.4113, allocations: 180.3 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.4115, allocations: 315.7 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.4116, allocations: 186 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.4116, allocations: 185.1 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4117, allocations: 104.9 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.4118, allocations: 180.3 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.4118, allocations: 104.9 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.4119, allocations: 109.6 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4119, allocations: 0 / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003252/0.4122, allocations: 39.94 kB / 1.042 GB, free: 14.61 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.0005471/0.4128, allocations: 0.8676 MB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.4129, allocations: 41.64 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4129, allocations: 0 / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.4129, allocations: 0 / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.4133, allocations: 0.5359 MB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.4138, allocations: 469.8 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.4141, allocations: 0.6809 MB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.4141, allocations: 7.984 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.4141, allocations: 11.44 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.4141, allocations: 0 / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.4263, allocations: 2.312 MB / 1.047 GB, free: 9.797 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.4265, allocations: 226.9 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.937, allocations: 3.938 kB / 1.047 GB, free: 9.551 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)