Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadModel(Buildings): time 3.846/3.846, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.765e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4919, allocations: 98.73 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.6889, allocations: 128.6 MB / 0.7545 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6892, allocations: 103.9 kB / 0.7546 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02239/0.7116, allocations: 5.246 MB / 0.7598 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.772e-06/0.7117, allocations: 0 / 0.7598 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.7117, allocations: 4 kB / 0.7598 GB, free: 9.578 MB / 0.6355 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.0009454/0.7127, allocations: 0.5282 MB / 0.7603 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7127, allocations: 16.02 kB / 0.7603 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.7128, allocations: 27.67 kB / 0.7603 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.7133, allocations: 301.7 kB / 0.7606 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.7134, allocations: 4 kB / 0.7606 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.7134, allocations: 19.98 kB / 0.7606 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002116/0.7137, allocations: 60.45 kB / 0.7607 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.714, allocations: 173 kB / 0.7609 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.7141, allocations: 7.906 kB / 0.7609 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.7141, allocations: 7.984 kB / 0.7609 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-06/0.7141, allocations: 0 / 0.7609 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.7156, allocations: 0.8729 MB / 0.7617 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.716, allocations: 163.9 kB / 0.7619 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.7161, allocations: 66.77 kB / 0.7619 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.7162, allocations: 4 kB / 0.7619 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.7165, allocations: 189.5 kB / 0.7621 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.803e-06/0.7166, allocations: 0 / 0.7621 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0007733/0.7173, allocations: 241.3 kB / 0.7624 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.7175, allocations: 122.9 kB / 0.7625 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.7177, allocations: 196.4 kB / 0.7627 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.7178, allocations: 37.7 kB / 0.7627 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.7179, allocations: 136.7 kB / 0.7628 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-05/0.718, allocations: 59.2 kB / 0.7629 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.718, allocations: 4 kB / 0.7629 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7182, allocations: 338.8 kB / 0.7632 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.7184, allocations: 52.84 kB / 0.7633 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.7187, allocations: 223.9 kB / 0.7635 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.7189, allocations: 87.83 kB / 0.7636 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7189, allocations: 4 kB / 0.7636 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000675/0.7196, allocations: 281.4 kB / 0.7638 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.7197, allocations: 33.7 kB / 0.7639 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.7197, allocations: 11.95 kB / 0.7639 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.7197, allocations: 8 kB / 0.7639 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.72, allocations: 71.89 kB / 0.7639 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.7201, allocations: 11.94 kB / 0.764 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.7204, allocations: 39.86 kB / 0.764 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.7205, allocations: 24 kB / 0.764 GB, free: 4.82 MB / 0.6355 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 () * 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.0001551/0.7206, allocations: 138.5 kB / 0.7642 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.7207, allocations: 27.72 kB / 0.7642 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.7208, allocations: 21.89 kB / 0.7642 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7208, allocations: 11.95 kB / 0.7642 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-06/0.7208, allocations: 0 / 0.7642 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-06/0.7208, allocations: 4 kB / 0.7642 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.7212, allocations: 245.9 kB / 0.7645 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.7212, allocations: 0 / 0.7645 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.7214, allocations: 19.98 kB / 0.7645 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.094e-06/0.7214, allocations: 4 kB / 0.7645 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.7215, allocations: 11.98 kB / 0.7645 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.7215, allocations: 3.938 kB / 0.7645 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.854e-06/0.7215, allocations: 0 / 0.7645 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.7224, allocations: 389.4 kB / 0.7649 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.7226, allocations: 100.9 kB / 0.765 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.7226, allocations: 7.953 kB / 0.765 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.7229, allocations: 27.97 kB / 0.765 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.723, allocations: 23.97 kB / 0.765 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.723, allocations: 11.98 kB / 0.765 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001914/0.7232, allocations: 152.4 kB / 0.7652 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.17e-07/0.7232, allocations: 3.938 kB / 0.7652 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005825/0.7238, allocations: 83.92 kB / 0.7653 GB, free: 3.477 MB / 0.6355 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) * 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.00043/0.7243, allocations: 177.2 kB / 0.7654 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.7248, allocations: 228.5 kB / 0.7656 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.136e-06/0.7248, allocations: 4.312 kB / 0.7656 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.725, allocations: 83.81 kB / 0.7657 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.7254, allocations: 54.95 kB / 0.7658 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.7271, allocations: 0.6021 MB / 0.7664 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.7276, allocations: 0.7446 MB / 0.7671 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.7278, allocations: 47.27 kB / 0.7671 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.7279, allocations: 27.44 kB / 0.7672 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of SimCode: time 1.492e-06/0.7279, allocations: 0 / 0.7672 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of Templates: time 0.0106/0.7385, allocations: 3.428 MB / 0.7705 GB, free: 14.04 MB / 0.6511 GB