Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00255/0.002555, allocations: 361.5 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.399/1.399, allocations: 165.8 MB / 183.1 MB, free: 5.508 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.724/3.724, allocations: 410.7 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001806/0.001806, allocations: 200.9 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3995, allocations: 67.44 MB / 0.8088 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.5799, allocations: 109 MB / 0.9153 GB, free: 15.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003984/0.5803, allocations: 115.9 kB / 0.9154 GB, free: 15.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4519/1.032, allocations: 22.17 MB / 0.937 GB, free: 113.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.032, allocations: 2.75 kB / 0.937 GB, free: 113.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.704e-05/1.032, allocations: 11.06 kB / 0.937 GB, free: 113.6 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001888/1.034, allocations: 0.8352 MB / 0.9379 GB, free: 113.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/1.034, allocations: 8.906 kB / 0.9379 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/1.035, allocations: 71.5 kB / 0.9379 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.036, allocations: 441.7 kB / 0.9384 GB, free: 112.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/1.036, allocations: 37.72 kB / 0.9384 GB, free: 112.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.036, allocations: 49.66 kB / 0.9384 GB, free: 112.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/1.037, allocations: 430.2 kB / 0.9388 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/1.037, allocations: 0.5625 kB / 0.9388 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/1.037, allocations: 20.78 kB / 0.9389 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/1.037, allocations: 11.62 kB / 0.9389 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/1.039, allocations: 374.4 kB / 0.9392 GB, free: 112.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/1.043, allocations: 1.543 MB / 0.9407 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/1.044, allocations: 351.1 kB / 0.9411 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/1.045, allocations: 359.3 kB / 0.9414 GB, free: 111.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/1.045, allocations: 4.562 kB / 0.9414 GB, free: 111.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.045, allocations: 34.56 kB / 0.9415 GB, free: 111.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/1.045, allocations: 0 / 0.9415 GB, free: 111.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.001523/1.047, allocations: 0.5063 MB / 0.9419 GB, free: 111.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/1.047, allocations: 55.38 kB / 0.942 GB, free: 111.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/1.047, allocations: 482.3 kB / 0.9425 GB, free: 110.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/1.047, allocations: 33.23 kB / 0.9425 GB, free: 110.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.048, allocations: 267.7 kB / 0.9427 GB, free: 110.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.048, allocations: 148.3 kB / 0.9429 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/1.048, allocations: 15.59 kB / 0.9429 GB, free: 110.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/1.048, allocations: 357.6 kB / 0.9432 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/1.048, allocations: 122.5 kB / 0.9434 GB, free: 110.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/1.049, allocations: 131.8 kB / 0.9435 GB, free: 110.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/1.049, allocations: 146.1 kB / 0.9436 GB, free: 110 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.049, allocations: 4.828 kB / 0.9436 GB, free: 110 MB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001005/1.05, allocations: 404 kB / 0.944 GB, free: 109.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.05, allocations: 5.219 kB / 0.944 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.05, allocations: 4 kB / 0.944 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.05, allocations: 2.125 kB / 0.944 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/1.051, allocations: 125.7 kB / 0.9441 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.051, allocations: 7.438 kB / 0.9442 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/1.052, allocations: 49.44 kB / 0.9442 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.052, allocations: 16.05 kB / 0.9442 GB, free: 109.8 MB / 474.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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0003871/1.052, allocations: 188.6 kB / 0.9444 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.052, allocations: 61.83 kB / 0.9445 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.052, allocations: 57.8 kB / 0.9445 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.053, allocations: 2.969 kB / 0.9445 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.053, allocations: 0 / 0.9445 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.053, allocations: 7.656 kB / 0.9445 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/1.053, allocations: 0.5688 MB / 0.9451 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.053, allocations: 0 / 0.9451 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.054, allocations: 133.1 kB / 0.9452 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/1.054, allocations: 0 / 0.9452 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/1.055, allocations: 10.25 kB / 0.9452 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.055, allocations: 0 / 0.9452 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.055, allocations: 3.562 kB / 0.9452 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.056, allocations: 0.671 MB / 0.9459 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/1.056, allocations: 142.1 kB / 0.946 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.056, allocations: 7.953 kB / 0.946 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/1.057, allocations: 27.58 kB / 0.946 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/1.057, allocations: 21.52 kB / 0.9461 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/1.057, allocations: 12.25 kB / 0.9461 GB, free: 108.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005449/1.058, allocations: 352 kB / 0.9464 GB, free: 108.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.058, allocations: 4 kB / 0.9464 GB, free: 108.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006356/1.058, allocations: 149.1 kB / 0.9466 GB, free: 108.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0004083/1.059, allocations: 276.1 kB / 0.9468 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008832/1.06, allocations: 329.9 kB / 0.9471 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.06, allocations: 0 / 0.9471 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/1.06, allocations: 187 kB / 0.9473 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.061, allocations: 118.8 kB / 0.9474 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/1.064, allocations: 1.433 MB / 0.9488 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.064, allocations: 0.8825 MB / 0.9497 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003459/1.064, allocations: 45.45 kB / 0.9497 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.065, allocations: 37.59 kB / 0.9498 GB, free: 106.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/1.065, allocations: 0 / 0.9498 GB, free: 106.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01909/1.084, allocations: 7.074 MB / 0.9567 GB, free: 100.6 MB / 474.7 MB