Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.025/2.025, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 175.5 kB / 393.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007731/0.0007731, allocations: 94.16 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 16 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5995, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002287/0.6018, allocations: 1.976 MB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.6033, allocations: 1.258 MB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.6034, allocations: 8.25 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.6036, allocations: 51.33 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.6037, allocations: 63.17 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.6041, allocations: 132.9 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.6044, allocations: 278.9 kB / 1.045 GB, free: 55.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.6045, allocations: 35.02 kB / 1.045 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.6046, allocations: 98.48 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.6047, allocations: 107.4 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.6048, allocations: 9.938 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.605, allocations: 98.22 kB / 1.045 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.6051, allocations: 40.86 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6052, allocations: 146.5 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.6055, allocations: 292.1 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6055, allocations: 0 / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6055, allocations: 0 / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6055, allocations: 2.188 kB / 1.045 GB, free: 55.48 MB / 0.698 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.000743/0.6063, allocations: 0.5565 MB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6063, allocations: 8.562 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.6064, allocations: 33.22 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.6067, allocations: 292.4 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.6068, allocations: 17.16 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.6068, allocations: 18.53 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.6072, allocations: 213.9 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6072, allocations: 2.094 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6073, allocations: 8.25 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6073, allocations: 3.25 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.6076, allocations: 126 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.6084, allocations: 0.8718 MB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.6088, allocations: 225.6 kB / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.609, allocations: 89.44 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.609, allocations: 2.266 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.6095, allocations: 209.9 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.6095, allocations: 4 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008209/0.6103, allocations: 379.8 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.6103, allocations: 116.5 kB / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.6105, allocations: 240 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.6106, allocations: 41.92 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.6106, allocations: 141.9 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.6107, allocations: 60.86 kB / 1.049 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.6107, allocations: 9.594 kB / 1.049 GB, free: 52.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.6108, allocations: 344.7 kB / 1.049 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.611, allocations: 86.19 kB / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.6112, allocations: 262.7 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.6117, allocations: 399.7 kB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6117, allocations: 0 / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006282/0.6123, allocations: 415.9 kB / 1.05 GB, free: 51.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.6124, allocations: 38.86 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6124, allocations: 6.156 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6124, allocations: 9.656 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.6126, allocations: 65.28 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6126, allocations: 19.02 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.6129, allocations: 45.06 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.6129, allocations: 27.5 kB / 1.051 GB, free: 51.69 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.613, allocations: 162.7 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.6131, allocations: 26.41 kB / 1.051 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.6131, allocations: 31.86 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.6131, allocations: 2.906 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6131, allocations: 3.938 kB / 1.051 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6131, allocations: 7.828 kB / 1.051 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.6134, allocations: 266.3 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6134, allocations: 0 / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.6135, allocations: 22.8 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6135, allocations: 0 / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.6135, allocations: 11.58 kB / 1.051 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6135, allocations: 3 kB / 1.051 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6135, allocations: 13.16 kB / 1.051 GB, free: 51.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.6143, allocations: 433.4 kB / 1.051 GB, free: 51.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.6144, allocations: 116.1 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.6145, allocations: 6.312 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.6146, allocations: 19.92 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.6147, allocations: 24.14 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.6147, allocations: 16.06 kB / 1.052 GB, free: 50.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001197/0.6148, allocations: 171.8 kB / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6149, allocations: 0 / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003667/0.6152, allocations: 76.31 kB / 1.052 GB, free: 50.82 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/0.6156, allocations: 181.4 kB / 1.052 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.6161, allocations: 302.8 kB / 1.052 GB, free: 50.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6161, allocations: 0 / 1.052 GB, free: 50.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.6164, allocations: 108.8 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.6168, allocations: 62 kB / 1.052 GB, free: 50.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.6178, allocations: 0.7189 MB / 1.053 GB, free: 50.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.618, allocations: 0.7412 MB / 1.054 GB, free: 49.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.6182, allocations: 53.16 kB / 1.054 GB, free: 49.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.6182, allocations: 24.44 kB / 1.054 GB, free: 49.34 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.6182, allocations: 0 / 1.054 GB, free: 49.34 MB / 0.698 GB Notification: Performance of Templates: time 0.007109/0.6254, allocations: 3.728 MB / 1.058 GB, free: 49.06 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)