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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002553/0.002558, allocations: 354.5 kB / 16.58 MB, free: 5.566 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.419/1.419, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.777/3.777, allocations: 410.7 MB / 0.6001 GB, free: 15.16 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.001768/0.001768, allocations: 194.2 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004989, allocations: 12 kB / 0.7429 GB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4116, allocations: 67.44 MB / 0.8088 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.5913, allocations: 106.9 MB / 0.9132 GB, free: 1.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004214/0.5918, allocations: 115.9 kB / 0.9133 GB, free: 1.625 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4486/1.04, allocations: 17.97 MB / 0.9308 GB, free: 112.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.04, allocations: 0 / 0.9308 GB, free: 112.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/1.04, allocations: 7.719 kB / 0.9308 GB, free: 112.8 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001303/1.042, allocations: 0.6508 MB / 0.9315 GB, free: 112.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.042, allocations: 8.938 kB / 0.9315 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/1.042, allocations: 45.81 kB / 0.9315 GB, free: 112.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/1.043, allocations: 357.3 kB / 0.9319 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/1.043, allocations: 17.28 kB / 0.9319 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/1.043, allocations: 24.83 kB / 0.9319 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/1.043, allocations: 207.8 kB / 0.9321 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.043, allocations: 2.938 kB / 0.9321 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/1.044, allocations: 7.344 kB / 0.9321 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/1.044, allocations: 5.281 kB / 0.9321 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/1.044, allocations: 177.6 kB / 0.9323 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/1.046, allocations: 0.8714 MB / 0.9331 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/1.047, allocations: 161 kB / 0.9333 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/1.047, allocations: 122.4 kB / 0.9334 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.047, allocations: 1.375 kB / 0.9334 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.047, allocations: 39.75 kB / 0.9334 GB, free: 111.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 3.046e-06/1.047, allocations: 1.281 kB / 0.9334 GB, free: 111.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.001014/1.048, allocations: 267.4 kB / 0.9337 GB, free: 111.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/1.048, allocations: 57.73 kB / 0.9338 GB, free: 111.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/1.049, allocations: 415.9 kB / 0.9342 GB, free: 111.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.049, allocations: 30.64 kB / 0.9342 GB, free: 111.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/1.049, allocations: 205.4 kB / 0.9344 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/1.049, allocations: 72.53 kB / 0.9344 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/1.049, allocations: 0.7188 kB / 0.9344 GB, free: 111.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/1.049, allocations: 348.6 kB / 0.9348 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.05, allocations: 57.66 kB / 0.9348 GB, free: 110.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/1.05, allocations: 70.22 kB / 0.9349 GB, free: 110.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/1.05, allocations: 66.33 kB / 0.935 GB, free: 110.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.05, allocations: 0 / 0.935 GB, free: 110.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006958/1.051, allocations: 215.1 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.051, allocations: 8.094 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/1.051, allocations: 4.734 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.051, allocations: 0.75 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.052, allocations: 56 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.052, allocations: 1.375 kB / 0.9352 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/1.052, allocations: 31.42 kB / 0.9353 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.052, allocations: 7.531 kB / 0.9353 GB, free: 110.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 (20): * Single equations (assignments): 20 * 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.0002485/1.052, allocations: 163.7 kB / 0.9354 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/1.052, allocations: 32.53 kB / 0.9355 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/1.052, allocations: 41.36 kB / 0.9355 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.052, allocations: 6.625 kB / 0.9355 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.052, allocations: 0 / 0.9355 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.052, allocations: 1.484 kB / 0.9355 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/1.053, allocations: 378.9 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.053, allocations: 0 / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/1.054, allocations: 59.8 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.054, allocations: 1.094 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/1.054, allocations: 4.75 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.054, allocations: 4.281 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.054, allocations: 8.203 kB / 0.9359 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.055, allocations: 394.6 kB / 0.9363 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.055, allocations: 123 kB / 0.9364 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/1.055, allocations: 4.781 kB / 0.9364 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.055, allocations: 14.66 kB / 0.9365 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/1.055, allocations: 20.33 kB / 0.9365 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.055, allocations: 3.703 kB / 0.9365 GB, free: 110.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005586/1.056, allocations: 301.6 kB / 0.9368 GB, free: 110.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.056, allocations: 0 / 0.9368 GB, free: 110.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005437/1.057, allocations: 81.86 kB / 0.9368 GB, free: 110.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0004546/1.057, allocations: 260.4 kB / 0.9371 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006212/1.058, allocations: 156.2 kB / 0.9372 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.058, allocations: 0 / 0.9372 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/1.058, allocations: 87.25 kB / 0.9373 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/1.059, allocations: 91.52 kB / 0.9374 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/1.061, allocations: 0.8868 MB / 0.9383 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/1.061, allocations: 0.8115 MB / 0.9391 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/1.061, allocations: 30.97 kB / 0.9391 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/1.062, allocations: 23.72 kB / 0.9391 GB, free: 108.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.062, allocations: 0 / 0.9391 GB, free: 108.8 MB / 474.7 MB Notification: Performance of Templates: time 0.01654/1.078, allocations: 5.251 MB / 0.9443 GB, free: 108.4 MB / 474.7 MB