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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001175/0.001175, allocations: 196.5 kB / 16.14 MB, free: 6.715 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 73.2 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2656, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002377/0.268, allocations: 1.538 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2692, allocations: 0.9387 MB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.2693, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2695, allocations: 43.81 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.2695, allocations: 15.86 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2699, allocations: 162.9 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.27, allocations: 55.67 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.2701, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.2701, allocations: 15.92 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.763e-05/0.2701, allocations: 19.86 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.2702, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2704, allocations: 151.8 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.2705, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.2705, allocations: 19.88 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.2707, allocations: 127.9 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2707, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2707, allocations: 4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.2707, allocations: 0 / 1.071 GB, free: 7.828 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.00032/0.271, allocations: 367.2 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.2711, allocations: 12.03 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.2711, allocations: 76.22 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2713, allocations: 267.4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.2714, allocations: 150.9 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2714, allocations: 158.9 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.587e-05/0.2715, allocations: 109.2 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.2715, allocations: 75.28 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.2716, allocations: 150.6 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.2716, allocations: 154.6 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.2717, allocations: 154.6 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.272, allocations: 461.9 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.272, allocations: 173.1 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.2721, allocations: 80.14 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2721, allocations: 75.28 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.2721, allocations: 117.8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2722, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.972e-05/0.2722, allocations: 33.73 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.2723, allocations: 134.6 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2724, allocations: 139.5 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2724, allocations: 29.64 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.2725, allocations: 88.14 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2725, allocations: 4 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2725, allocations: 21.7 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.2726, allocations: 314.8 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.2727, allocations: 4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.2727, allocations: 4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.2727, allocations: 16.84 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2727, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/0.2728, allocations: 49.55 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2728, allocations: 8.062 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2729, allocations: 4 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2729, allocations: 48 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-06/0.2729, allocations: 11.91 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2729, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.2729, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2729, allocations: 4 kB / 1.074 GB, free: 4.219 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 8.665e-05/0.273, allocations: 181.1 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2731, allocations: 116.8 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.2731, allocations: 112.6 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/0.2732, allocations: 188.2 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-05/0.2733, allocations: 176.3 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/0.2733, allocations: 180.2 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2736, allocations: 413.2 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.2736, allocations: 113 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.2736, allocations: 108.9 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.617e-05/0.2737, allocations: 180.3 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.2738, allocations: 180.2 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.257e-05/0.2738, allocations: 176.3 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.795e-05/0.2739, allocations: 184.2 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.274, allocations: 307.8 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.2741, allocations: 193.9 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.2742, allocations: 184.3 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.2742, allocations: 108.9 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2743, allocations: 184.3 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.2743, allocations: 101 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.2744, allocations: 109.1 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2744, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000276/0.2747, allocations: 35.92 kB / 1.077 GB, free: 0.5352 MB / 0.8262 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.0002569/0.275, allocations: 218.4 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.331e-05/0.275, allocations: 49.62 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2751, allocations: 0 / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2751, allocations: 0 / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2755, allocations: 0.5229 MB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.2758, allocations: 235.3 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2761, allocations: 0.6848 MB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.2761, allocations: 4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-06/0.2761, allocations: 7.438 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2761, allocations: 4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.003463/0.2796, allocations: 1.503 MB / 1.08 GB, free: 13.29 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)