Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.632/4.632, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.00236/0.002359, allocations: 358.8 kB / 0.644 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 3.802/3.802, allocations: 410.7 MB / 1.112 GB, free: 6.008 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.0018/0.0018, allocations: 174 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004883, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5658, 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.SingleUTubeBoundaryCondition): time 0.002278/0.5681, allocations: 1.961 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.5696, allocations: 0.9772 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.5697, allocations: 7.938 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.5699, allocations: 35.75 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.57, allocations: 73.09 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.5705, allocations: 125.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.5707, allocations: 262.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.5708, allocations: 35.66 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.5709, allocations: 95.56 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5711, allocations: 103.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.5711, allocations: 8 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.5714, allocations: 87.92 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.5715, allocations: 52.19 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.5715, allocations: 66.42 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.5718, allocations: 219.4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.054e-06/0.5718, allocations: 1.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.701e-06/0.5718, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.78e-06/0.5718, allocations: 0 / 1.465 GB, free: 280.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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008167/0.5727, allocations: 0.5538 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5727, allocations: 12.38 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.5728, allocations: 27.67 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.5732, allocations: 296.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.5733, allocations: 12.23 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.5733, allocations: 19.98 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.5738, allocations: 208.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5738, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.5738, allocations: 7.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-06/0.5738, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.5743, allocations: 123.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/0.5752, allocations: 0.8728 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.5758, allocations: 221.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.5761, allocations: 93.53 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.5761, allocations: 3.953 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004554/0.5766, allocations: 211.1 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 3.148e-06/0.5766, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001006/0.5776, allocations: 377.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.5777, allocations: 124 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.5779, allocations: 238.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.5779, allocations: 41.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.578, allocations: 140.9 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.5781, allocations: 60.25 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.5781, allocations: 8 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.5782, allocations: 340.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.5785, allocations: 85.47 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.5788, allocations: 264.7 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.5792, allocations: 154.8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-06/0.5792, allocations: 3.938 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008609/0.5801, allocations: 414.7 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5801, allocations: 33.7 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5801, allocations: 9.312 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5802, allocations: 8 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.5804, allocations: 75.45 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.5805, allocations: 11.94 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.5808, allocations: 48.7 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5808, allocations: 20 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001478/0.581, allocations: 164.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.581, allocations: 29.69 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.5811, allocations: 26.67 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-06/0.5811, allocations: 4 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.727e-06/0.5811, allocations: 1.469 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-06/0.5811, allocations: 0 / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5814, allocations: 265.4 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.5814, allocations: 0 / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.5816, allocations: 21.14 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-06/0.5816, allocations: 4 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.5817, allocations: 16.44 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.914e-06/0.5817, allocations: 0.5938 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-06/0.5817, allocations: 5.469 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/0.5827, allocations: 430 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.5827, allocations: 106.2 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.5828, allocations: 16.19 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.583, allocations: 25.64 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.5831, allocations: 23.97 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.5832, allocations: 13.62 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001432/0.5833, allocations: 171.1 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-07/0.5833, allocations: 3.938 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000487/0.5838, allocations: 84.56 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003224/0.5842, allocations: 160.9 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.5848, allocations: 313.4 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.723e-06/0.5849, allocations: 0 / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.5852, allocations: 114.8 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.5857, allocations: 63.91 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.587, allocations: 0.6991 MB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.5872, allocations: 0.7518 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.5874, allocations: 49.52 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.5874, allocations: 31.38 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.5e-06/0.5874, allocations: 0 / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009263/0.5967, allocations: 3.6 MB / 1.477 GB, free: 267.9 MB / 0.8542 GB