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.6035/0.6035, allocations: 94.77 MB / 102.2 MB, free: 14.11 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.001223/0.001223, allocations: 180.1 kB / 125.6 MB, free: 7.918 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.883/1.883, allocations: 170.6 MB / 319.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00185/0.001849, allocations: 105.7 kB / 381.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 8 kB / 449.1 MB, free: 44.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 61.53 MB / 0.4987 GB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5895/0.7477, allocations: 96.35 MB / 0.5928 GB, free: 116 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.748, allocations: 91.56 kB / 0.5929 GB, free: 60 kB / 394.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.01177/0.7598, allocations: 2.99 MB / 0.5958 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7598, allocations: 0 / 0.5958 GB, free: 13.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.7599, allocations: 4 kB / 0.5958 GB, free: 13.41 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.0004152/0.7603, allocations: 380.1 kB / 0.5961 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.7604, allocations: 12.02 kB / 0.5962 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.7605, allocations: 83.19 kB / 0.5962 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.7608, allocations: 261.9 kB / 0.5965 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.7609, allocations: 154.2 kB / 0.5966 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.761, allocations: 162.5 kB / 0.5968 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.906e-05/0.7611, allocations: 158.5 kB / 0.5969 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.7611, allocations: 107.5 kB / 0.597 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.7612, allocations: 75.28 kB / 0.5971 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.7613, allocations: 150.6 kB / 0.5973 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.7614, allocations: 157.6 kB / 0.5974 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.7617, allocations: 441.4 kB / 0.5978 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.7619, allocations: 165.1 kB / 0.598 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.7619, allocations: 84.08 kB / 0.5981 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.762, allocations: 75.28 kB / 0.5981 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.7621, allocations: 113.8 kB / 0.5982 GB, free: 10.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.7621, allocations: 0 / 0.5982 GB, free: 10.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.939e-05/0.7622, allocations: 37.56 kB / 0.5983 GB, free: 10.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.7623, allocations: 54.84 kB / 0.5983 GB, free: 10.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.7624, allocations: 117.2 kB / 0.5984 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.7624, allocations: 25.7 kB / 0.5985 GB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.7625, allocations: 94.5 kB / 0.5986 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.7625, allocations: 4 kB / 0.5986 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.7625, allocations: 0 / 0.5986 GB, free: 10.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.7627, allocations: 314.1 kB / 0.5989 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.7627, allocations: 4 kB / 0.5989 GB, free: 10.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.7628, allocations: 11.5 kB / 0.5989 GB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.7629, allocations: 19.97 kB / 0.5989 GB, free: 10.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7629, allocations: 4 kB / 0.5989 GB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002133/0.7631, allocations: 69.06 kB / 0.599 GB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.7632, allocations: 34.95 kB / 0.599 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7632, allocations: 64 / 0.599 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7632, allocations: 4 kB / 0.599 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.7632, allocations: 2.5 kB / 0.599 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7633, allocations: 0 / 0.599 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.7633, allocations: 3.953 kB / 0.599 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.7633, allocations: 7.984 kB / 0.599 GB, free: 9.926 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 () * 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 0.000129/0.7634, allocations: 179.4 kB / 0.5992 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.7635, allocations: 112.8 kB / 0.5993 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.7636, allocations: 112.3 kB / 0.5994 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.748e-05/0.7637, allocations: 180.3 kB / 0.5996 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-05/0.7638, allocations: 180.2 kB / 0.5997 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-05/0.7639, allocations: 180.8 kB / 0.5999 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.7642, allocations: 396.5 kB / 0.6003 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/0.7642, allocations: 101 kB / 0.6004 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.7643, allocations: 116.9 kB / 0.6005 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.121e-05/0.7644, allocations: 180.2 kB / 0.6007 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.7645, allocations: 180.3 kB / 0.6008 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.319e-05/0.7646, allocations: 180.8 kB / 0.601 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.582e-05/0.7647, allocations: 180.1 kB / 0.6012 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.7649, allocations: 315.6 kB / 0.6015 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.765, allocations: 186 kB / 0.6017 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7651, allocations: 180.2 kB / 0.6018 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.7652, allocations: 105 kB / 0.6019 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.7653, allocations: 191.9 kB / 0.6021 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.7653, allocations: 105.9 kB / 0.6022 GB, free: 6.449 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.7654, allocations: 94.91 kB / 0.6023 GB, free: 6.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7654, allocations: 0 / 0.6023 GB, free: 6.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.7658, allocations: 43.92 kB / 0.6024 GB, free: 6.32 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 () * 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.0004197/0.7662, allocations: 238.4 kB / 0.6026 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.7663, allocations: 70.41 kB / 0.6027 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7663, allocations: 0 / 0.6027 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.7663, allocations: 0 / 0.6027 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.7668, allocations: 0.5389 MB / 0.6032 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.7671, allocations: 154.5 kB / 0.6033 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.7674, allocations: 0.6884 MB / 0.604 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.7674, allocations: 4 kB / 0.604 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.7675, allocations: 7.438 kB / 0.604 GB, free: 4.566 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7675, allocations: 0 / 0.604 GB, free: 4.566 MB / 410.7 MB Notification: Performance of Templates: time 0.003846/0.7713, allocations: 1.211 MB / 0.6052 GB, free: 3.379 MB / 410.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)