Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.208/4.208, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.346e-05, allocations: 4.562 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2461, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.4951, allocations: 128.6 MB / 0.7545 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/0.4956, allocations: 99.92 kB / 0.7546 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02917/0.5248, allocations: 5.26 MB / 0.7597 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5248, allocations: 0 / 0.7597 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.5249, allocations: 4 kB / 0.7598 GB, free: 2.949 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.001329/0.5262, allocations: 0.521 MB / 0.7603 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5263, allocations: 12.03 kB / 0.7603 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.5264, allocations: 31.67 kB / 0.7603 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.5271, allocations: 297.7 kB / 0.7606 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5272, allocations: 4 kB / 0.7606 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.5273, allocations: 19.98 kB / 0.7606 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002856/0.5276, allocations: 60.45 kB / 0.7607 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.528, allocations: 176 kB / 0.7608 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.528, allocations: 3.906 kB / 0.7608 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.5281, allocations: 3.984 kB / 0.7608 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5281, allocations: 7.953 kB / 0.7609 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.5301, allocations: 0.869 MB / 0.7617 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.5306, allocations: 171.9 kB / 0.7619 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5308, allocations: 58.73 kB / 0.7619 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.5309, allocations: 7.953 kB / 0.7619 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.5313, allocations: 181.6 kB / 0.7621 GB, free: 316 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 4.368e-06/0.5314, allocations: 0 / 0.7621 GB, free: 316 kB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.000966/0.5323, allocations: 249.4 kB / 0.7623 GB, free: 60 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.5325, allocations: 126.7 kB / 0.7625 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.5329, allocations: 200.4 kB / 0.7627 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.5329, allocations: 25.7 kB / 0.7627 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.5331, allocations: 140.7 kB / 0.7628 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.5332, allocations: 59.2 kB / 0.7629 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.5332, allocations: 0 / 0.7629 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5334, allocations: 342.8 kB / 0.7632 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5336, allocations: 48.81 kB / 0.7632 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.5339, allocations: 224.1 kB / 0.7635 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.5341, allocations: 91.89 kB / 0.7635 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5342, allocations: 0 / 0.7635 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007884/0.535, allocations: 284.9 kB / 0.7638 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.535, allocations: 37.66 kB / 0.7638 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5351, allocations: 7.938 kB / 0.7639 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.5351, allocations: 12 kB / 0.7639 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.5356, allocations: 80.5 kB / 0.7639 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.5356, allocations: 8 kB / 0.764 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.536, allocations: 35.73 kB / 0.764 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.5361, allocations: 20 kB / 0.764 GB, free: 14.2 MB / 0.6511 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.0001897/0.5363, allocations: 135 kB / 0.7641 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008751/0.5372, allocations: 249.2 kB / 0.7644 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.5373, allocations: 35.56 kB / 0.7644 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.584e-05/0.5374, allocations: 17.84 kB / 0.7644 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5374, allocations: 7.984 kB / 0.7644 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5374, allocations: 0 / 0.7644 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.5375, allocations: 4 kB / 0.7644 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.5379, allocations: 234 kB / 0.7647 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.538, allocations: 0 / 0.7647 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.5382, allocations: 19.98 kB / 0.7647 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.5382, allocations: 8 kB / 0.7647 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.5383, allocations: 15.94 kB / 0.7647 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5383, allocations: 0 / 0.7647 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5383, allocations: 192 / 0.7647 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5394, allocations: 399.8 kB / 0.7651 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5396, allocations: 104.8 kB / 0.7652 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.5397, allocations: 8 kB / 0.7652 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.54, allocations: 15.97 kB / 0.7652 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5401, allocations: 23.97 kB / 0.7652 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.5402, allocations: 11.98 kB / 0.7652 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002009/0.5404, allocations: 148.5 kB / 0.7654 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.02e-07/0.5404, allocations: 4 kB / 0.7654 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007215/0.5411, allocations: 87.92 kB / 0.7655 GB, free: 12.61 MB / 0.6511 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.001816/0.543, allocations: 1.139 MB / 0.7666 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006104/0.5436, allocations: 232.2 kB / 0.7668 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5437, allocations: 0 / 0.7668 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.5439, allocations: 79.92 kB / 0.7669 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.5445, allocations: 49.22 kB / 0.7669 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.547, allocations: 0.666 MB / 0.7676 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5474, allocations: 0.7485 MB / 0.7683 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.5477, allocations: 43.27 kB / 0.7683 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5478, allocations: 71.41 kB / 0.7684 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/0.5478, allocations: 0 / 0.7684 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.5972, allocations: 5.459 MB / 0.7737 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008089/0.5981, allocations: 182.4 kB / 0.7739 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/3.566, allocations: 2.578 kB / 0.7739 GB, free: 3.852 MB / 0.6511 GB