Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.959/4.959, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002537/0.002537, allocations: 359.9 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.252/4.252, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001883/0.001883, allocations: 182.8 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005224, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7128, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001425/0.7142, allocations: 1.007 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.7188, allocations: 3.51 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.7189, allocations: 1.031 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.7189, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.7194, allocations: 81.2 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.7197, allocations: 96.42 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.7198, allocations: 20.58 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.7198, allocations: 4.734 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.7199, allocations: 23.86 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.7201, allocations: 36.47 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.7201, allocations: 1.688 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.7207, allocations: 291.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.7207, allocations: 7.938 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.7207, allocations: 29.7 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.7209, allocations: 87.38 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7209, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7209, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.7209, allocations: 0 / 1.466 GB, free: 279.2 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003332/0.7213, allocations: 348.3 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7213, allocations: 11.62 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.7214, allocations: 13.92 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.7215, allocations: 163 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.7215, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.7215, allocations: 4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.7216, allocations: 34.47 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7217, allocations: 1.406 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.7217, allocations: 0.9062 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7217, allocations: 4 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.7217, allocations: 7.953 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.7219, allocations: 159.5 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.722, allocations: 26.52 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.722, allocations: 11.67 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.7223, allocations: 97.08 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.7223, allocations: 30.56 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.7223, allocations: 0.5625 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.7225, allocations: 44.67 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.7225, allocations: 55.34 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.7226, allocations: 101.8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.7226, allocations: 29.7 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.7227, allocations: 80.14 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.7227, allocations: 3.906 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.7227, allocations: 0.875 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.7228, allocations: 322.8 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.7228, allocations: 5.156 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.7228, allocations: 4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.7229, allocations: 1.094 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.7229, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.857e-05/0.723, allocations: 46.11 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.723, allocations: 9.25 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.723, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.723, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.7231, allocations: 9.203 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7231, allocations: 4.562 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.7232, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7232, allocations: 4.562 kB / 1.468 GB, free: 277.4 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 (2): * Single equations (assignments): 2 * 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 5.832e-05/0.7233, allocations: 114.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.7233, allocations: 3.938 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.7234, allocations: 50.31 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7234, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7234, allocations: 0.5938 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.7235, allocations: 81.11 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7235, allocations: 5.609 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.7235, allocations: 7.953 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.7236, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.714e-05/0.7237, allocations: 113.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001085/0.7238, allocations: 216.9 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.489e-05/0.7238, allocations: 4.844 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.7239, allocations: 88.58 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Backend: time 8.02e-07/0.7239, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.7245, allocations: 144.7 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004133/0.7249, allocations: 0.5903 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004567/0.7295, allocations: 1.349 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB