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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.902 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.001375/0.001375, allocations: 188.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 0.572 GB, free: 10.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.0009642/0.0009642, allocations: 92.78 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.852e-05/4.861e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7806/1.031, allocations: 134.7 MB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.031, allocations: 88.25 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01269/1.044, allocations: 3.36 MB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/1.044, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.044, allocations: 0 / 1.027 GB, free: 12.98 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.000342/1.044, allocations: 364.3 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.044, allocations: 12.03 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/1.044, allocations: 105.8 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/1.045, allocations: 83.19 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/1.045, allocations: 268.9 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/1.045, allocations: 153.3 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/1.045, allocations: 158.5 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.881e-05/1.045, allocations: 101 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/1.045, allocations: 75.28 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/1.045, allocations: 154.5 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/1.045, allocations: 150.6 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.648e-05/1.045, allocations: 154.6 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/1.045, allocations: 467.5 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/1.046, allocations: 169.8 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/1.046, allocations: 84.08 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/1.046, allocations: 75.28 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.046, allocations: 113 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.046, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.168e-05/1.046, allocations: 33.61 kB / 1.029 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.046, allocations: 126.7 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.046, allocations: 117.2 kB / 1.03 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.046, allocations: 28.95 kB / 1.03 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/1.046, allocations: 91.62 kB / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/1.046, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.046, allocations: 4 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.046, allocations: 318.1 kB / 1.03 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/1.046, allocations: 7.25 kB / 1.03 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/1.046, allocations: 15.86 kB / 1.03 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/1.046, allocations: 10.89 kB / 1.03 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.046, allocations: 0 / 1.03 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/1.046, allocations: 44.48 kB / 1.03 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.046, allocations: 5.719 kB / 1.03 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.046, allocations: 11.98 kB / 1.03 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.046, allocations: 4.062 kB / 1.03 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/1.046, allocations: 0 / 1.03 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/1.046, allocations: 0.5469 kB / 1.03 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/1.046, allocations: 0 / 1.03 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/1.047, allocations: 0 / 1.03 GB, free: 9.359 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.462e-05/1.047, allocations: 184.2 kB / 1.03 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/1.047, allocations: 108.8 kB / 1.03 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/1.047, allocations: 112 kB / 1.031 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.047, allocations: 192.2 kB / 1.031 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-05/1.047, allocations: 176.3 kB / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.894e-05/1.047, allocations: 180.3 kB / 1.031 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/1.047, allocations: 411.3 kB / 1.031 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/1.047, allocations: 112.9 kB / 1.032 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/1.047, allocations: 108.9 kB / 1.032 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.245e-05/1.047, allocations: 179.9 kB / 1.032 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/1.047, allocations: 180.2 kB / 1.032 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.235e-05/1.047, allocations: 184.2 kB / 1.032 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.432e-05/1.048, allocations: 176.3 kB / 1.032 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/1.048, allocations: 314.7 kB / 1.033 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/1.048, allocations: 190 kB / 1.033 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/1.048, allocations: 184.2 kB / 1.033 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/1.048, allocations: 108.5 kB / 1.033 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.048, allocations: 185.2 kB / 1.033 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/1.048, allocations: 105 kB / 1.033 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.108e-05/1.048, allocations: 99.2 kB / 1.033 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/1.048, allocations: 0 / 1.033 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003527/1.049, allocations: 47.92 kB / 1.034 GB, free: 5.703 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.0005582/1.049, allocations: 0.8744 MB / 1.034 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/1.049, allocations: 41.58 kB / 1.034 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.049, allocations: 0 / 1.034 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/1.049, allocations: 0 / 1.034 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/1.05, allocations: 0.5299 MB / 1.035 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/1.05, allocations: 197.5 kB / 1.035 GB, free: 4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/1.05, allocations: 0.6887 MB / 1.036 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.782e-05/1.05, allocations: 0 / 1.036 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/1.05, allocations: 22.11 kB / 1.036 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.05, allocations: 4 kB / 1.036 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/1.063, allocations: 2.388 MB / 1.038 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1.063, allocations: 189.3 kB / 1.038 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.668, allocations: 0 / 1.038 GB, free: 0.8398 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)