Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5459/0.5459, allocations: 95.62 MB / 110.6 MB, free: 9.344 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00152/0.001521, allocations: 164.2 kB / 134.2 MB, free: 2.25 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.612/1.612, allocations: 170.7 MB / 328.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001708, allocations: 107.3 kB / 390.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 19.98 kB / 462.8 MB, free: 35.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 61.53 MB / 0.512 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5722, allocations: 96.73 MB / 0.6065 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5725, allocations: 90.12 kB / 0.6065 GB, free: 10.46 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.5844, allocations: 3.031 MB / 0.6095 GB, free: 7.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5844, allocations: 0 / 0.6095 GB, free: 7.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.5844, allocations: 4 kB / 0.6095 GB, free: 7.75 MB / 410.7 MB 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.0004297/0.5848, allocations: 388.8 kB / 0.6099 GB, free: 7.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5849, allocations: 15.98 kB / 0.6099 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.585, allocations: 79.27 kB / 0.61 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.5852, allocations: 264.9 kB / 0.6102 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.5853, allocations: 158.5 kB / 0.6104 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.5854, allocations: 154.6 kB / 0.6105 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.5855, allocations: 114.2 kB / 0.6106 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.5855, allocations: 75.28 kB / 0.6107 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.5856, allocations: 150.6 kB / 0.6108 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.5856, allocations: 154.6 kB / 0.611 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.712e-05/0.5857, allocations: 154.5 kB / 0.6111 GB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.586, allocations: 467.5 kB / 0.6116 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.5861, allocations: 165.1 kB / 0.6117 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5861, allocations: 83.28 kB / 0.6118 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.5862, allocations: 109.8 kB / 0.6119 GB, free: 5.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.041e-06/0.5862, allocations: 0 / 0.6119 GB, free: 5.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.527e-05/0.5863, allocations: 33.66 kB / 0.612 GB, free: 5.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.5863, allocations: 131.7 kB / 0.6121 GB, free: 4.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.5865, allocations: 120.8 kB / 0.6122 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.5865, allocations: 25.7 kB / 0.6122 GB, free: 4.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.5866, allocations: 93.52 kB / 0.6123 GB, free: 4.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.5866, allocations: 0 / 0.6123 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5866, allocations: 3 kB / 0.6123 GB, free: 4.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5867, allocations: 318.8 kB / 0.6126 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.5867, allocations: 3.188 kB / 0.6126 GB, free: 4.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.5868, allocations: 4 kB / 0.6126 GB, free: 4.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.5868, allocations: 36.7 kB / 0.6127 GB, free: 4.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5868, allocations: 0 / 0.6127 GB, free: 4.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.587, allocations: 78.64 kB / 0.6127 GB, free: 4.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.587, allocations: 39.16 kB / 0.6128 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.587, allocations: 3.938 kB / 0.6128 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5871, allocations: 4 kB / 0.6128 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.5871, allocations: 224 / 0.6128 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5871, allocations: 3.953 kB / 0.6128 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.5871, allocations: 7.844 kB / 0.6128 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.5871, allocations: 7.312 kB / 0.6128 GB, free: 4.18 MB / 410.7 MB 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: 1 * 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 prepare postOptimizeDAE: time 9.756e-05/0.5872, allocations: 181.1 kB / 0.613 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.5873, allocations: 109 kB / 0.6131 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.5874, allocations: 120.2 kB / 0.6132 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.5875, allocations: 176.3 kB / 0.6134 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-05/0.5875, allocations: 180.2 kB / 0.6135 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/0.5876, allocations: 183.6 kB / 0.6137 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.5878, allocations: 420 kB / 0.6141 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/0.5879, allocations: 105 kB / 0.6142 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.5879, allocations: 105 kB / 0.6143 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-05/0.588, allocations: 184.2 kB / 0.6145 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.5881, allocations: 179.8 kB / 0.6147 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.467e-05/0.5881, allocations: 180.2 kB / 0.6148 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.656e-05/0.5882, allocations: 184.2 kB / 0.615 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.5883, allocations: 315.1 kB / 0.6153 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.5884, allocations: 186 kB / 0.6155 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.5885, allocations: 188.2 kB / 0.6157 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.5886, allocations: 101 kB / 0.6158 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.5887, allocations: 180.3 kB / 0.6159 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.5887, allocations: 108.4 kB / 0.616 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.463e-05/0.5888, allocations: 104.2 kB / 0.6161 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5888, allocations: 0 / 0.6161 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.5891, allocations: 43.44 kB / 0.6162 GB, free: 0.5352 MB / 410.7 MB 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.0003411/0.5895, allocations: 242.9 kB / 0.6164 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.5896, allocations: 74.2 kB / 0.6165 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5896, allocations: 0 / 0.6165 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5896, allocations: 0 / 0.6165 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.59, allocations: 0.5296 MB / 0.617 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.5903, allocations: 243.4 kB / 0.6172 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.5906, allocations: 0.6926 MB / 0.6179 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.32e-05/0.5906, allocations: 0 / 0.6179 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.5907, allocations: 11.44 kB / 0.6179 GB, free: 14.69 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5907, allocations: 0 / 0.6179 GB, free: 14.69 MB / 426.7 MB Notification: Performance of Templates: time 0.004328/0.595, allocations: 1.317 MB / 0.6192 GB, free: 13.39 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)