Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008312/0.008312, allocations: 170.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.656 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001515/0.2726, allocations: 1.203 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2739, allocations: 0.9154 MB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.2739, allocations: 11.94 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.2741, allocations: 35.83 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.938e-05/0.2742, allocations: 15.84 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2746, allocations: 174.6 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.2747, allocations: 51.67 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.2747, allocations: 4 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.2748, allocations: 15.92 kB / 1.077 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.2748, allocations: 15.86 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2748, allocations: 4 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.2751, allocations: 143.8 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2751, allocations: 7.984 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.2752, allocations: 45.56 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2754, allocations: 127.9 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2754, allocations: 0 / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2754, allocations: 0 / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.2754, allocations: 0 / 1.077 GB, free: 4.758 MB / 0.8262 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.0003122/0.2757, allocations: 364.5 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2758, allocations: 8.031 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.2759, allocations: 84.12 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.2761, allocations: 259.4 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.2762, allocations: 154.9 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.2762, allocations: 150.9 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.2763, allocations: 113.3 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.2764, allocations: 83.22 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.2764, allocations: 150.6 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/0.2765, allocations: 150.6 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.2766, allocations: 154.6 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.277, allocations: 461.9 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2772, allocations: 165.1 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.2772, allocations: 84.08 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.2773, allocations: 79.28 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/0.2774, allocations: 113.8 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2774, allocations: 0 / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.2775, allocations: 33.61 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.2776, allocations: 126.7 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2778, allocations: 131.2 kB / 1.08 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2778, allocations: 25.7 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.2779, allocations: 104.1 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.2779, allocations: 0 / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2779, allocations: 9.719 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2781, allocations: 322.8 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.2781, allocations: 3.938 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.2781, allocations: 8.047 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.2782, allocations: 16.89 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2782, allocations: 0 / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001476/0.2784, allocations: 57.56 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2784, allocations: 9.25 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.2784, allocations: 0 / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2784, allocations: 0 / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.2784, allocations: 0 / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2784, allocations: 0 / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.2785, allocations: 4 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2785, allocations: 0 / 1.08 GB, free: 1.172 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.2786, allocations: 189.1 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.2787, allocations: 116.9 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.2788, allocations: 116.6 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/0.2788, allocations: 180.2 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/0.2789, allocations: 176.3 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-05/0.279, allocations: 184.2 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.2792, allocations: 417.3 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.2793, allocations: 105 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.2793, allocations: 120.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-05/0.2794, allocations: 176.3 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/0.2795, allocations: 184.2 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.684e-05/0.2795, allocations: 180.2 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-05/0.2796, allocations: 184.3 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2798, allocations: 307.7 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.2798, allocations: 193.9 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.2799, allocations: 184.3 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.28, allocations: 105 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.2801, allocations: 180.2 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.2801, allocations: 101 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.458e-05/0.2802, allocations: 109 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2802, allocations: 3.938 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002863/0.2805, allocations: 35.94 kB / 1.083 GB, free: 13.47 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002996/0.2808, allocations: 218.4 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2809, allocations: 45.64 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2809, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.2809, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.2815, allocations: 0.5263 MB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2819, allocations: 250.2 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2822, allocations: 0.6848 MB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.2822, allocations: 4 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.2822, allocations: 11.44 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2822, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.004075/0.2863, allocations: 1.494 MB / 1.087 GB, free: 10.21 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)