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.618/1.618, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001074/0.001074, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.556/1.556, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008224/0.0008224, allocations: 102.4 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.154e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6644, allocations: 115.3 MB / 0.9645 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.8632, allocations: 140.3 MB / 1.102 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.8634, allocations: 83.94 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.8758, allocations: 3.347 MB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8759, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8759, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 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.0003132/0.8762, allocations: 367 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8762, allocations: 11.97 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.8763, allocations: 84.31 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.8766, allocations: 268.8 kB / 1.106 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.8766, allocations: 154.6 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.8767, allocations: 150.6 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.557e-05/0.8768, allocations: 150.6 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.939e-05/0.8768, allocations: 105 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.8769, allocations: 75.28 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.8769, allocations: 150.6 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.877, allocations: 155.2 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.8772, allocations: 442.5 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.8773, allocations: 177.1 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.8774, allocations: 84.14 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.8774, allocations: 75.28 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.8775, allocations: 105.8 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.8775, allocations: 3.828 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.439e-05/0.8775, allocations: 41.55 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.8776, allocations: 54.78 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8777, allocations: 119.5 kB / 1.108 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.8777, allocations: 25.7 kB / 1.108 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.8778, allocations: 96.05 kB / 1.108 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.8778, allocations: 0 / 1.108 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.8778, allocations: 0 / 1.108 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8779, allocations: 318.8 kB / 1.108 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.8779, allocations: 8 kB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.8779, allocations: 4 kB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.8781, allocations: 23.97 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8781, allocations: 0 / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001868/0.8783, allocations: 61.67 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8783, allocations: 7.953 kB / 1.108 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.8783, allocations: 4 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.8783, allocations: 0 / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.8783, allocations: 0 / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.8784, allocations: 3.938 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.8784, allocations: 3.969 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.8784, allocations: 7.984 kB / 1.108 GB, free: 8.555 MB / 0.7136 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 8.478e-05/0.8785, allocations: 180.3 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.572e-05/0.8786, allocations: 130.7 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.8786, allocations: 120.8 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.8787, allocations: 108.9 kB / 1.109 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.8787, allocations: 177 kB / 1.109 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-05/0.8788, allocations: 188.2 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.157e-05/0.8789, allocations: 183.5 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8791, allocations: 393.8 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/0.8791, allocations: 112.9 kB / 1.11 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.8792, allocations: 101 kB / 1.11 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.8792, allocations: 184.2 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.8793, allocations: 180.2 kB / 1.11 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.348e-05/0.8794, allocations: 180.3 kB / 1.11 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/0.8794, allocations: 180.2 kB / 1.11 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.8795, allocations: 311.9 kB / 1.111 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.8796, allocations: 186 kB / 1.111 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.8797, allocations: 192.1 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.8798, allocations: 103.3 kB / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.8799, allocations: 176.3 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.8799, allocations: 104.9 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.88, allocations: 104.7 kB / 1.111 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.88, allocations: 0 / 1.111 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002629/0.8802, allocations: 35.94 kB / 1.112 GB, free: 4.781 MB / 0.7136 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.0005374/0.8808, allocations: 0.8709 MB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.8809, allocations: 33.7 kB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8809, allocations: 3.938 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.8809, allocations: 4 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.8813, allocations: 0.5397 MB / 1.113 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.8816, allocations: 187.6 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.8818, allocations: 0.6892 MB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.779e-05/0.8819, allocations: 1.312 kB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.8819, allocations: 23.42 kB / 1.114 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8819, allocations: 0 / 1.114 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.9012, allocations: 1.868 MB / 1.116 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.9015, allocations: 187.3 kB / 1.116 GB, free: 340 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.591, allocations: 0 / 1.116 GB, free: 340 kB / 0.7136 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)