Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.909/4.909, allocations: 0.5623 GB / 0.5776 GB, free: 3.293 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.002494/0.002494, allocations: 358.3 kB / 0.6447 GB, free: 185.6 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.149/4.149, allocations: 410.7 MB / 1.113 GB, free: 5.914 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.001874/0.001874, allocations: 182.1 kB / 1.226 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 19.98 kB / 1.349 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7039, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003487/0.7074, allocations: 2.596 MB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.7106, allocations: 1.999 MB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.7108, allocations: 4 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.7123, allocations: 415.5 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.7126, allocations: 133.1 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.7128, allocations: 40.39 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.7133, allocations: 418.6 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.7135, allocations: 117.5 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.7137, allocations: 131.4 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.714, allocations: 160 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.714, allocations: 20 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.7141, allocations: 16.5 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.7142, allocations: 84.17 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.7143, allocations: 105.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.7155, allocations: 435.2 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7155, allocations: 5.688 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.436e-06/0.7156, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.7156, allocations: 0 / 1.468 GB, free: 277.6 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001696/0.7173, allocations: 0.6491 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.7174, allocations: 8.031 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.7175, allocations: 48.11 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.718, allocations: 361.1 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.7181, allocations: 13.41 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.7181, allocations: 23.98 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.7187, allocations: 206.6 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.7187, allocations: 0 / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.7188, allocations: 11.94 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.7188, allocations: 7.938 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.7194, allocations: 171.6 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.7209, allocations: 0.8745 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.7213, allocations: 164.4 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.7216, allocations: 114.5 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.7217, allocations: 5.094 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.7217, allocations: 31.22 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.7217, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008503/0.7226, allocations: 268.7 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.7226, allocations: 63.28 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.7232, allocations: 419.5 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.7232, allocations: 25.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.7233, allocations: 204.2 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.7234, allocations: 70.98 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.7235, allocations: 4.969 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.7236, allocations: 343.3 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.7238, allocations: 65.22 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.724, allocations: 61.42 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.7243, allocations: 69.92 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7243, allocations: 0 / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005695/0.7249, allocations: 215.3 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7249, allocations: 8 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7249, allocations: 0 / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.725, allocations: 3.312 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.7254, allocations: 59.89 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.7254, allocations: 0 / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.7257, allocations: 28.7 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.7257, allocations: 5.375 kB / 1.472 GB, free: 272.9 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 (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.000182/0.7259, allocations: 169.2 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.726, allocations: 36.88 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.7261, allocations: 43.58 kB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7261, allocations: 0 / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7261, allocations: 3.938 kB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.7262, allocations: 125.1 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.7263, allocations: 0.5 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.7266, allocations: 21.86 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.7267, allocations: 11.94 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009633/0.7276, allocations: 311.9 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008702/0.7285, allocations: 472.6 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002472/0.7288, allocations: 78.77 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004042/0.7292, allocations: 303.1 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of Backend: time 7.41e-07/0.7292, allocations: 0 / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.7299, allocations: 170.7 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001915/0.7319, allocations: 1.391 MB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01151/0.7434, allocations: 3.831 MB / 1.479 GB, free: 266.3 MB / 0.8542 GB