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.881/4.881, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002463/0.002463, allocations: 353.4 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.327/4.327, allocations: 410.7 MB / 1.113 GB, free: 5.918 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.001819/0.001819, allocations: 192 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004829, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7369, 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.003017/0.7399, allocations: 1.962 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.742, allocations: 0.9711 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.7422, allocations: 7.938 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.7425, allocations: 46.69 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.7427, allocations: 67.41 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.7433, allocations: 124.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.7435, allocations: 262.8 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.7437, allocations: 34.69 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.7439, allocations: 91.56 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.744, allocations: 108 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.7441, allocations: 8.688 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.7444, allocations: 91.86 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.7445, allocations: 41.08 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.7446, allocations: 73.56 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.7449, allocations: 220.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.745, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.274e-06/0.745, allocations: 0.6562 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.745, 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.001197/0.7462, allocations: 0.5464 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7463, allocations: 11.62 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.7464, allocations: 28.27 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.7469, allocations: 298.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.747, allocations: 12.23 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.747, allocations: 24.66 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.7476, allocations: 212.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.7476, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.7477, allocations: 3.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.7477, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.7483, allocations: 127.4 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.7495, allocations: 0.8699 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.7503, allocations: 220 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.7507, allocations: 85.17 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7507, allocations: 8.578 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/0.7513, allocations: 206.1 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 3.186e-06/0.7513, allocations: 1.656 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001335/0.7527, allocations: 377 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.7528, allocations: 118.8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.753, allocations: 236.3 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.7531, allocations: 41.69 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.7532, allocations: 144.4 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.7533, allocations: 63.23 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.7533, allocations: 8.656 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.7534, allocations: 339.3 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.7537, allocations: 86.78 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.7542, allocations: 264.5 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.7547, allocations: 150.6 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7547, allocations: 5.062 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001089/0.7558, allocations: 406.8 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.7558, allocations: 45.25 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7559, allocations: 8.656 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.7559, allocations: 8 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.7563, allocations: 73.48 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.7563, allocations: 11.94 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.7567, allocations: 57.3 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.7568, allocations: 20.38 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.0001978/0.757, allocations: 166 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.7571, allocations: 23.72 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.7571, allocations: 29.66 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7571, allocations: 3.938 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7572, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.7572, allocations: 104.8 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.7573, allocations: 8 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.7576, allocations: 21.61 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.7577, allocations: 24.53 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001246/0.759, allocations: 0.5218 MB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00138/0.7604, allocations: 0.7011 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003886/0.7608, allocations: 109.6 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001812/0.761, allocations: 166.5 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of Backend: time 7.32e-07/0.761, allocations: 0.6875 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.7626, allocations: 380.2 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001509/0.7642, allocations: 1.115 MB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01176/0.776, allocations: 3.527 MB / 1.477 GB, free: 268.2 MB / 0.8542 GB