Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.796/4.796, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002557/0.002557, allocations: 359.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.269/4.269, allocations: 410.7 MB / 1.113 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00189/0.00189, allocations: 175.8 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004998, allocations: 16 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7445, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.9649, allocations: 140.9 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003935/0.9653, allocations: 95.94 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02411/0.9895, allocations: 3.372 MB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9895, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9895, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 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.0004063/0.9899, allocations: 386.8 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.99, allocations: 11.62 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.9901, allocations: 80.16 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.9903, allocations: 263.2 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.9903, allocations: 155.2 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.9904, allocations: 152.4 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.597e-05/0.9904, allocations: 104.9 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.9904, allocations: 75.88 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.9905, allocations: 152 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.9905, allocations: 153.3 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.9905, allocations: 154.5 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.9908, allocations: 465.8 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.9909, allocations: 175.4 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.9909, allocations: 84.14 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.9909, allocations: 80.67 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.9909, allocations: 105.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.991, allocations: 6.672 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.229e-05/0.991, allocations: 29.7 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9911, allocations: 126.7 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.9912, allocations: 144.2 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.9912, allocations: 25.7 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.9913, allocations: 96.12 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.9913, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9913, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.9914, allocations: 311.4 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.9914, allocations: 8.562 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.9914, allocations: 4 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.9915, allocations: 8.828 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9915, allocations: 0 / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.9916, allocations: 46.19 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9917, allocations: 5.656 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.9917, allocations: 8 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.9917, allocations: 0 / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.9917, allocations: 0 / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.9917, allocations: 4.875 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.9918, allocations: 3.906 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.9918, allocations: 3.984 kB / 1.606 GB, free: 136.3 MB / 0.8542 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 7.273e-05/0.9919, allocations: 202.3 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.9919, allocations: 111.3 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.992, allocations: 105.7 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.9921, allocations: 180.7 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/0.9921, allocations: 190.3 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/0.9921, allocations: 180.2 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.9923, allocations: 417 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.9923, allocations: 108.9 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.9924, allocations: 108.9 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-05/0.9924, allocations: 180.3 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.9925, allocations: 184.2 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-05/0.9925, allocations: 177 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-05/0.9925, allocations: 179.4 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.9926, allocations: 309.4 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.9927, allocations: 193.9 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.9927, allocations: 177.8 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.9928, allocations: 101 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.9929, allocations: 188.8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.9929, allocations: 108.3 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.993, allocations: 97.77 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.3e-07/0.993, allocations: 0 / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004025/0.9934, allocations: 47.86 kB / 1.609 GB, free: 132.7 MB / 0.8542 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.0003588/0.9938, allocations: 234.2 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.9939, allocations: 37.64 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9939, allocations: 0 / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-06/0.9939, allocations: 0 / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.9943, allocations: 0.5331 MB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.9947, allocations: 240.6 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.9948, allocations: 0.69 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.9949, allocations: 4.578 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.9949, allocations: 11.44 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.9949, allocations: 1.5 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.005188/1, allocations: 1.547 MB / 1.612 GB, free: 129.4 MB / 0.8542 GB