Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.00253, 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.456/1.456, allocations: 165.8 MB / 183.1 MB, free: 5.52 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.714/3.714, 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.001753/0.001752, allocations: 188.5 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006164, allocations: 15.94 kB / 0.7429 GB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4104, allocations: 67.44 MB / 0.8088 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.6128, allocations: 119.6 MB / 0.9256 GB, free: 4.949 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004824/0.6133, allocations: 127.9 kB / 0.9257 GB, free: 4.824 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4602/1.074, allocations: 15.04 MB / 0.9404 GB, free: 114.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.074, allocations: 0 / 0.9404 GB, free: 114.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/1.074, allocations: 0 / 0.9404 GB, free: 114.3 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001155/1.075, allocations: 0.5709 MB / 0.941 GB, free: 113.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.075, allocations: 11.78 kB / 0.941 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.075, allocations: 79.19 kB / 0.9411 GB, free: 113.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.075, allocations: 252.8 kB / 0.9413 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/1.075, allocations: 154.6 kB / 0.9415 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/1.075, allocations: 150.6 kB / 0.9416 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.419e-05/1.075, allocations: 108.9 kB / 0.9417 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.075, allocations: 75.28 kB / 0.9418 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.075, allocations: 154.6 kB / 0.9419 GB, free: 112.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/1.075, allocations: 158.5 kB / 0.9421 GB, free: 112.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/1.075, allocations: 158.4 kB / 0.9422 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/1.075, allocations: 473.3 kB / 0.9427 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/1.076, allocations: 165.1 kB / 0.9428 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/1.076, allocations: 84.08 kB / 0.9429 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1.076, allocations: 79.22 kB / 0.943 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.076, allocations: 110.1 kB / 0.9431 GB, free: 111.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/1.076, allocations: 0 / 0.9431 GB, free: 111.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 7.822e-05/1.076, allocations: 37.56 kB / 0.9431 GB, free: 111.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.076, allocations: 130.7 kB / 0.9433 GB, free: 111.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.076, allocations: 137.1 kB / 0.9434 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/1.076, allocations: 29.45 kB / 0.9434 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/1.076, allocations: 88.14 kB / 0.9435 GB, free: 111.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.076, allocations: 0 / 0.9435 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.076, allocations: 0 / 0.9435 GB, free: 111.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/1.076, allocations: 326.7 kB / 0.9438 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/1.076, allocations: 3.938 kB / 0.9438 GB, free: 110.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/1.076, allocations: 7.844 kB / 0.9438 GB, free: 110.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/1.076, allocations: 7.906 kB / 0.9438 GB, free: 110.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.076, allocations: 0 / 0.9438 GB, free: 110.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001386/1.076, allocations: 49.23 kB / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.076, allocations: 3.906 kB / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.076, allocations: 7.703 kB / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.076, allocations: 3.953 kB / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/1.076, allocations: 4.062 kB / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.076, allocations: 0 / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/1.077, allocations: 0 / 0.9439 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.077, allocations: 3.906 kB / 0.9439 GB, free: 110.7 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 (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 6.993e-05/1.077, allocations: 182.2 kB / 0.9441 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/1.077, allocations: 116.7 kB / 0.9442 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/1.077, allocations: 108.7 kB / 0.9443 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.077, allocations: 188.1 kB / 0.9445 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.231e-05/1.077, allocations: 180.2 kB / 0.9446 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/1.077, allocations: 176.3 kB / 0.9448 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/1.077, allocations: 420.6 kB / 0.9452 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.077, allocations: 101 kB / 0.9453 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/1.077, allocations: 101 kB / 0.9454 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.318e-05/1.077, allocations: 188.1 kB / 0.9456 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.077, allocations: 176.3 kB / 0.9458 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.472e-05/1.077, allocations: 188.2 kB / 0.9459 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.35e-05/1.077, allocations: 188.2 kB / 0.9461 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/1.077, allocations: 307.6 kB / 0.9464 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.077, allocations: 189.8 kB / 0.9466 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/1.077, allocations: 189.6 kB / 0.9468 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/1.078, allocations: 104.9 kB / 0.9469 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/1.078, allocations: 180.2 kB / 0.947 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/1.078, allocations: 108.9 kB / 0.9471 GB, free: 107.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.901e-05/1.078, allocations: 110 kB / 0.9473 GB, free: 107.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.078, allocations: 0 / 0.9473 GB, free: 107.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001365/1.079, allocations: 322.8 kB / 0.9476 GB, free: 107 MB / 474.7 MB 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.001487/1.081, allocations: 0.5713 MB / 0.9481 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/1.081, allocations: 36.89 kB / 0.9482 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.081, allocations: 64 / 0.9482 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-06/1.081, allocations: 11.88 kB / 0.9482 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/1.081, allocations: 0.522 MB / 0.9487 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/1.081, allocations: 258.6 kB / 0.9489 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/1.082, allocations: 0.6909 MB / 0.9496 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.597e-05/1.082, allocations: 3.984 kB / 0.9496 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/1.082, allocations: 14.97 kB / 0.9496 GB, free: 105.2 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/1.082, allocations: 0 / 0.9496 GB, free: 105.2 MB / 474.7 MB Notification: Performance of Templates: time 0.01279/1.094, allocations: 5.62 MB / 0.9551 GB, free: 102.8 MB / 474.7 MB