Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.658/1.658, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008974, allocations: 98.19 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 19.94 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.6661, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.8422, allocations: 144.3 MB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.8426, allocations: 93.86 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.8562, allocations: 3.494 MB / 1.171 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.175e-06/0.8563, allocations: 0 / 1.171 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.8563, allocations: 4 kB / 1.171 GB, free: 13.34 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.0004405/0.8567, allocations: 377.1 kB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8568, allocations: 12.03 kB / 1.171 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.8569, allocations: 78.56 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.8571, allocations: 270.8 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.8572, allocations: 154.9 kB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.8572, allocations: 150.9 kB / 1.172 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.8573, allocations: 106.2 kB / 1.172 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.8574, allocations: 75.47 kB / 1.172 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.8574, allocations: 159.2 kB / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.005e-05/0.8575, allocations: 150.6 kB / 1.172 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.8576, allocations: 160.4 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.8579, allocations: 465 kB / 1.173 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.858, allocations: 165.8 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.858, allocations: 80.14 kB / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.8581, allocations: 81.69 kB / 1.173 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.8581, allocations: 110.5 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.8581, allocations: 0 / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.96e-05/0.8582, allocations: 39.69 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.8583, allocations: 135.4 kB / 1.173 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.8585, allocations: 128.6 kB / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8585, allocations: 26.45 kB / 1.173 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.8585, allocations: 102 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-06/0.8586, allocations: 0 / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.8586, allocations: 0 / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8587, allocations: 316.8 kB / 1.174 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.8587, allocations: 4 kB / 1.174 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.8587, allocations: 4.656 kB / 1.174 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.8588, allocations: 14.17 kB / 1.174 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8588, allocations: 1.406 kB / 1.174 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.8589, allocations: 51.47 kB / 1.174 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8589, allocations: 12.7 kB / 1.174 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.859, allocations: 4 kB / 1.174 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.859, allocations: 0.5625 kB / 1.174 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.859, allocations: 0 / 1.174 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.859, allocations: 0.875 kB / 1.174 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.859, allocations: 0.7031 kB / 1.174 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.859, allocations: 2.594 kB / 1.174 GB, free: 9.801 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 () * 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.0001036/0.8591, allocations: 186.6 kB / 1.174 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.8592, allocations: 117.5 kB / 1.174 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.8593, allocations: 116.7 kB / 1.174 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-05/0.8593, allocations: 177 kB / 1.175 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.8594, allocations: 184.8 kB / 1.175 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/0.8595, allocations: 181 kB / 1.175 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.8598, allocations: 424.4 kB / 1.175 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/0.8598, allocations: 101.6 kB / 1.175 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.8599, allocations: 101.7 kB / 1.176 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/0.8599, allocations: 184.7 kB / 1.176 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.86, allocations: 181.5 kB / 1.176 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.478e-05/0.8601, allocations: 182.1 kB / 1.176 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-05/0.8602, allocations: 185 kB / 1.176 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.8603, allocations: 305.5 kB / 1.176 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.8604, allocations: 183.5 kB / 1.177 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.8605, allocations: 188.8 kB / 1.177 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.8606, allocations: 102.6 kB / 1.177 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.8606, allocations: 186.1 kB / 1.177 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.8607, allocations: 105.7 kB / 1.177 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.8608, allocations: 110.7 kB / 1.177 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8608, allocations: 0 / 1.177 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003299/0.8611, allocations: 41.2 kB / 1.177 GB, free: 6.148 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 () * 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.0003374/0.8615, allocations: 231.1 kB / 1.178 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.8616, allocations: 39.11 kB / 1.178 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8616, allocations: 0 / 1.178 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.8616, allocations: 0 / 1.178 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.8621, allocations: 0.54 MB / 1.178 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.8624, allocations: 236.8 kB / 1.178 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.8627, allocations: 0.6869 MB / 1.179 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.8627, allocations: 6.484 kB / 1.179 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.8628, allocations: 7.438 kB / 1.179 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.8628, allocations: 0 / 1.179 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.004442/0.8672, allocations: 1.589 MB / 1.181 GB, free: 3.402 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)