Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001008/0.001008, allocations: 179.4 kB / 371.6 MB, free: 3.383 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.533/1.533, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0009137/0.0009137, allocations: 93.78 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.557e-05/6.56e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3054, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.889/1.194, allocations: 142 MB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.195, allocations: 90.36 kB / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01208/1.207, allocations: 3.366 MB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.435e-06/1.207, allocations: 0 / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.207, allocations: 0 / 1.122 GB, free: 40.35 MB / 0.7448 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.0002766/1.207, allocations: 355 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.207, allocations: 8.031 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/1.207, allocations: 109.8 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/1.207, allocations: 92 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/1.208, allocations: 265.3 kB / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/1.208, allocations: 156.7 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/1.208, allocations: 150.6 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.109e-05/1.208, allocations: 105 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.208, allocations: 79.28 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/1.208, allocations: 150.6 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/1.208, allocations: 152.7 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/1.208, allocations: 155.1 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/1.208, allocations: 469.8 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/1.208, allocations: 169.8 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/1.208, allocations: 80.14 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/1.208, allocations: 75.28 kB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.208, allocations: 117.8 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/1.208, allocations: 0.9375 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.916e-05/1.208, allocations: 33.61 kB / 1.125 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.208, allocations: 130.7 kB / 1.125 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/1.208, allocations: 125.4 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/1.208, allocations: 25.7 kB / 1.125 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/1.209, allocations: 91.92 kB / 1.125 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/1.209, allocations: 0 / 1.125 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.209, allocations: 0 / 1.125 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/1.209, allocations: 322.2 kB / 1.125 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/1.209, allocations: 11.5 kB / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/1.209, allocations: 1.031 kB / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/1.209, allocations: 4 kB / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.209, allocations: 0 / 1.125 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/1.209, allocations: 52.53 kB / 1.125 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.209, allocations: 9.25 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.209, allocations: 0.7031 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.209, allocations: 2.953 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/1.209, allocations: 0 / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.209, allocations: 0 / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/1.209, allocations: 12.66 kB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/1.209, allocations: 0 / 1.125 GB, free: 36.79 MB / 0.7448 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 7.435e-05/1.209, allocations: 180.1 kB / 1.125 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/1.209, allocations: 116.3 kB / 1.126 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/1.209, allocations: 104.6 kB / 1.126 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.209, allocations: 180.3 kB / 1.126 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.181e-05/1.209, allocations: 191.3 kB / 1.126 GB, free: 36.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/1.209, allocations: 176.3 kB / 1.126 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.209, allocations: 415.8 kB / 1.127 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.209, allocations: 104.5 kB / 1.127 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/1.209, allocations: 101 kB / 1.127 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.692e-05/1.209, allocations: 188.2 kB / 1.127 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.209, allocations: 183.3 kB / 1.127 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-05/1.209, allocations: 181.1 kB / 1.127 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.937e-05/1.21, allocations: 179.7 kB / 1.127 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/1.21, allocations: 312.8 kB / 1.128 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/1.21, allocations: 186 kB / 1.128 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/1.21, allocations: 195.5 kB / 1.128 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/1.21, allocations: 102.3 kB / 1.128 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/1.21, allocations: 179.6 kB / 1.128 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.21, allocations: 105.4 kB / 1.129 GB, free: 33.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.997e-05/1.21, allocations: 102.8 kB / 1.129 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.21, allocations: 4 kB / 1.129 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002729/1.21, allocations: 46.22 kB / 1.129 GB, free: 33.18 MB / 0.7448 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.000429/1.211, allocations: 0.8737 MB / 1.13 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.748e-05/1.211, allocations: 37.14 kB / 1.13 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.211, allocations: 4 kB / 1.13 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/1.211, allocations: 0 / 1.13 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/1.211, allocations: 0.5357 MB / 1.13 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/1.211, allocations: 195.1 kB / 1.13 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.212, allocations: 0.6838 MB / 1.131 GB, free: 46.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.171e-05/1.212, allocations: 4.172 kB / 1.131 GB, free: 46.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/1.212, allocations: 15.25 kB / 1.131 GB, free: 46.79 MB / 0.7605 GB Notification: Performance of SimCode: time 3.9e-07/1.212, allocations: 3.938 kB / 1.131 GB, free: 46.79 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/1.226, allocations: 2.374 MB / 1.133 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.226, allocations: 182.1 kB / 1.133 GB, free: 45.29 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.878, allocations: 0 / 1.133 GB, free: 45.29 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)