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.38/1.38, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 184.9 kB / 316.3 MB, free: 3.301 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.476/1.476, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001001/0.001001, allocations: 82.48 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.472e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/0.9939, allocations: 135 MB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.9942, allocations: 89.86 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/1.007, allocations: 3.346 MB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.362e-06/1.007, allocations: 0 / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.176e-06/1.007, allocations: 4 kB / 1.021 GB, free: 15.42 MB / 0.6511 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.0003753/1.007, allocations: 353 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.007, allocations: 8.031 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/1.007, allocations: 83.19 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/1.008, allocations: 270.7 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/1.008, allocations: 161.2 kB / 1.021 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/1.008, allocations: 150.6 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.081e-05/1.008, allocations: 150.6 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.089e-05/1.008, allocations: 101 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/1.008, allocations: 75.28 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/1.008, allocations: 150.6 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.008, allocations: 162.5 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/1.008, allocations: 441.8 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/1.008, allocations: 173.1 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/1.008, allocations: 84.08 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/1.008, allocations: 79.28 kB / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.009, allocations: 105.8 kB / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.009, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.564e-05/1.009, allocations: 37.59 kB / 1.023 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.009, allocations: 51.41 kB / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.009, allocations: 122.2 kB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.009, allocations: 25.7 kB / 1.023 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/1.009, allocations: 91.83 kB / 1.023 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.009, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/1.009, allocations: 224 / 1.023 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.009, allocations: 322.8 kB / 1.024 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/1.009, allocations: 3.938 kB / 1.024 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/1.009, allocations: 7.812 kB / 1.024 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.009, allocations: 23.97 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.009, allocations: 0 / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001857/1.009, allocations: 69.41 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.009, allocations: 8.062 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.009, allocations: 4 kB / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.009, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/1.009, allocations: 3.984 kB / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/1.009, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/1.009, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.01, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.6511 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 9.732e-05/1.01, allocations: 176.3 kB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.422e-05/1.01, allocations: 146.5 kB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/1.01, allocations: 108.9 kB / 1.024 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/1.01, allocations: 116.9 kB / 1.024 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/1.01, allocations: 180.8 kB / 1.024 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.389e-05/1.01, allocations: 180.3 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.077e-05/1.01, allocations: 180.2 kB / 1.025 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/1.01, allocations: 401.6 kB / 1.025 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/1.01, allocations: 105 kB / 1.025 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/1.01, allocations: 108.9 kB / 1.025 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-05/1.01, allocations: 179.9 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/1.011, allocations: 176.3 kB / 1.026 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.132e-05/1.011, allocations: 184.2 kB / 1.026 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.346e-05/1.011, allocations: 184.2 kB / 1.026 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.011, allocations: 307.6 kB / 1.026 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/1.011, allocations: 182.1 kB / 1.026 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/1.011, allocations: 184.2 kB / 1.027 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/1.011, allocations: 109.9 kB / 1.027 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/1.011, allocations: 180.2 kB / 1.027 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.011, allocations: 105 kB / 1.027 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.826e-05/1.011, allocations: 100.6 kB / 1.027 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.553e-06/1.011, allocations: 0 / 1.027 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002937/1.012, allocations: 43.88 kB / 1.027 GB, free: 8.242 MB / 0.6511 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.0006377/1.012, allocations: 0.8708 MB / 1.028 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/1.012, allocations: 33.58 kB / 1.028 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.012, allocations: 8.062 kB / 1.028 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/1.012, allocations: 4 kB / 1.028 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/1.013, allocations: 0.5352 MB / 1.029 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/1.013, allocations: 189.2 kB / 1.029 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.013, allocations: 0.6885 MB / 1.029 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.07e-05/1.014, allocations: 3.984 kB / 1.029 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/1.014, allocations: 19.12 kB / 1.029 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.014, allocations: 0 / 1.029 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/1.035, allocations: 1.863 MB / 1.031 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.035, allocations: 189.4 kB / 1.031 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.664, allocations: 0 / 1.031 GB, free: 3.805 MB / 0.6511 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)