Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.566/2.566, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.00152/0.00152, allocations: 178.6 kB / 370.8 MB, free: 10.85 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.092/2.092, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001953/0.001953, allocations: 108.4 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004839, allocations: 13.36 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8949/1.108, allocations: 140.9 MB / 1.116 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.109, allocations: 95.06 kB / 1.116 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02081/1.13, allocations: 3.367 MB / 1.119 GB, free: 30.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.796e-06/1.13, allocations: 0 / 1.119 GB, free: 30.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.13, allocations: 7.906 kB / 1.119 GB, free: 30.85 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.0006006/1.13, allocations: 382.9 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.13, allocations: 11.56 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/1.13, allocations: 105.8 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/1.13, allocations: 86.59 kB / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/1.131, allocations: 262.6 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/1.131, allocations: 159.9 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/1.131, allocations: 153 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.209e-05/1.131, allocations: 104.9 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/1.131, allocations: 75.28 kB / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/1.131, allocations: 150.6 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/1.131, allocations: 154.6 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/1.131, allocations: 158.5 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/1.132, allocations: 468.9 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.825e-05/1.132, allocations: 173 kB / 1.122 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.132, allocations: 79.28 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.132, allocations: 105.8 kB / 1.122 GB, free: 28.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/1.132, allocations: 0 / 1.122 GB, free: 28.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.507e-05/1.132, allocations: 30.72 kB / 1.122 GB, free: 28.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.132, allocations: 126.7 kB / 1.122 GB, free: 28.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.132, allocations: 134 kB / 1.122 GB, free: 27.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.132, allocations: 25.7 kB / 1.122 GB, free: 27.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/1.132, allocations: 96.75 kB / 1.122 GB, free: 27.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/1.132, allocations: 0 / 1.122 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/1.132, allocations: 0 / 1.122 GB, free: 27.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.132, allocations: 317.2 kB / 1.123 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/1.133, allocations: 3.875 kB / 1.123 GB, free: 27.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/1.133, allocations: 0 / 1.123 GB, free: 27.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/1.133, allocations: 9.766 kB / 1.123 GB, free: 27.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.133, allocations: 4.172 kB / 1.123 GB, free: 27.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001544/1.133, allocations: 49.69 kB / 1.123 GB, free: 27.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.133, allocations: 15.75 kB / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.133, allocations: 0 / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.133, allocations: 5.062 kB / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/1.133, allocations: 0 / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.133, allocations: 0.5469 kB / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/1.133, allocations: 0 / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/1.133, allocations: 0 / 1.123 GB, free: 27.45 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.0001222/1.133, allocations: 192.2 kB / 1.123 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/1.133, allocations: 112.7 kB / 1.123 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/1.133, allocations: 113.7 kB / 1.123 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.886e-05/1.133, allocations: 182.1 kB / 1.123 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.595e-05/1.133, allocations: 180.1 kB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/1.134, allocations: 182.4 kB / 1.124 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/1.134, allocations: 412.3 kB / 1.124 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.831e-05/1.134, allocations: 110.2 kB / 1.124 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/1.134, allocations: 110.1 kB / 1.124 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.903e-05/1.134, allocations: 176.3 kB / 1.124 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/1.134, allocations: 188.7 kB / 1.124 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.833e-05/1.134, allocations: 176.3 kB / 1.125 GB, free: 25.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.302e-05/1.134, allocations: 178.4 kB / 1.125 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/1.135, allocations: 315.5 kB / 1.125 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.135, allocations: 186.8 kB / 1.125 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/1.135, allocations: 180.2 kB / 1.125 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.135, allocations: 107.8 kB / 1.126 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/1.135, allocations: 184.2 kB / 1.126 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.135, allocations: 104.6 kB / 1.126 GB, free: 24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001048/1.135, allocations: 102.5 kB / 1.126 GB, free: 23.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.135, allocations: 0 / 1.126 GB, free: 23.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004376/1.136, allocations: 42.06 kB / 1.126 GB, free: 23.91 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.0007625/1.136, allocations: 0.8719 MB / 1.127 GB, free: 23.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001197/1.137, allocations: 33.14 kB / 1.127 GB, free: 23.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.137, allocations: 3.938 kB / 1.127 GB, free: 23.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/1.137, allocations: 0 / 1.127 GB, free: 23.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/1.137, allocations: 0.5395 MB / 1.127 GB, free: 22.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/1.138, allocations: 461.2 kB / 1.128 GB, free: 22.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/1.138, allocations: 0.6846 MB / 1.128 GB, free: 21.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.287e-05/1.138, allocations: 3.875 kB / 1.129 GB, free: 21.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/1.138, allocations: 14.44 kB / 1.129 GB, free: 21.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.153e-06/1.138, allocations: 4 kB / 1.129 GB, free: 21.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/1.163, allocations: 2.319 MB / 1.131 GB, free: 21.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.164, allocations: 215.2 kB / 1.131 GB, free: 20.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.492, allocations: 7.094 kB / 1.131 GB, free: 20.96 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)