Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 80.8 kB / 20.75 MB, free: 3.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 161 kB / 24.16 MB, free: 340 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 204.6 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.82/1.82, allocations: 389.5 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.028e-05, allocations: 3.594 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.01033/0.01036, allocations: 12.29 MB / 0.7872 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007514/0.01787, allocations: 5.431 MB / 0.7925 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.0187, allocations: 67.44 kB / 0.7925 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.01926, allocations: 251.9 kB / 0.7928 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.02081, allocations: 0.8681 MB / 0.7936 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.02175, allocations: 0.6386 MB / 0.7943 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.02334, allocations: 2.042 MB / 0.7963 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007682/0.02411, allocations: 0.5399 MB / 0.7968 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.02504, allocations: 0.9354 MB / 0.7977 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.02553, allocations: 487.5 kB / 0.7982 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.02559, allocations: 60 kB / 0.7982 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.02602, allocations: 276.4 kB / 0.7985 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.02615, allocations: 195.2 kB / 0.7987 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.02636, allocations: 272.9 kB / 0.7989 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.02708, allocations: 0.7396 MB / 0.7996 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.02708, allocations: 0 / 0.7996 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.71e-07/0.02708, allocations: 4 kB / 0.7997 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.02709, allocations: 0.9375 kB / 0.7997 GB, free: 12.35 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0009879/0.02808, allocations: 0.9203 MB / 0.8006 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.02812, allocations: 9.344 kB / 0.8006 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.02832, allocations: 109.6 kB / 0.8007 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.02891, allocations: 492.6 kB / 0.8011 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.02894, allocations: 37.38 kB / 0.8012 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.02899, allocations: 57.22 kB / 0.8012 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.0294, allocations: 0.4891 MB / 0.8017 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.02941, allocations: 0.5938 kB / 0.8017 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.02944, allocations: 20 kB / 0.8017 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.02946, allocations: 17 kB / 0.8017 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.02964, allocations: 147.5 kB / 0.8019 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.03102, allocations: 1.691 MB / 0.8035 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.03132, allocations: 171.8 kB / 0.8037 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.03138, allocations: 52.33 kB / 0.8037 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.03212, allocations: 0.5852 MB / 0.8043 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.03214, allocations: 38.56 kB / 0.8044 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.482e-06/0.03214, allocations: 2.406 kB / 0.8044 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.0003205/0.03246, allocations: 178.9 kB / 0.8045 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.03248, allocations: 55.41 kB / 0.8046 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.03276, allocations: 448.7 kB / 0.805 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.03278, allocations: 29.7 kB / 0.805 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.03291, allocations: 306.1 kB / 0.8053 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.03295, allocations: 79.3 kB / 0.8054 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.03304, allocations: 81.56 kB / 0.8055 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.03313, allocations: 363.8 kB / 0.8058 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.03318, allocations: 46.52 kB / 0.8059 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.03331, allocations: 273.3 kB / 0.8061 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.03363, allocations: 244.2 kB / 0.8064 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.03363, allocations: 0 / 0.8064 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002218/0.03385, allocations: 242.1 kB / 0.8066 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.03387, allocations: 5.156 kB / 0.8066 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.03387, allocations: 8 kB / 0.8066 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.03389, allocations: 7.938 kB / 0.8066 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.03402, allocations: 81.14 kB / 0.8067 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.03402, allocations: 8 kB / 0.8067 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.03415, allocations: 35.78 kB / 0.8067 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.03417, allocations: 20.55 kB / 0.8068 GB, free: 4.695 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001016/0.03427, allocations: 141.4 kB / 0.8069 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.03432, allocations: 39.95 kB / 0.8069 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.03453, allocations: 193.1 kB / 0.8071 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03454, allocations: 4 kB / 0.8071 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.03454, allocations: 1.406 kB / 0.8071 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001543/0.03469, allocations: 353.2 kB / 0.8075 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.03524, allocations: 0.5755 MB / 0.808 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.03524, allocations: 4 kB / 0.808 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.03537, allocations: 52.47 kB / 0.8081 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.03538, allocations: 4 kB / 0.8081 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.03539, allocations: 5.234 kB / 0.8081 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.03539, allocations: 7.984 kB / 0.8081 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03539, allocations: 4 kB / 0.8081 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.03567, allocations: 372.4 kB / 0.8084 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.03576, allocations: 63.59 kB / 0.8085 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.03579, allocations: 7.984 kB / 0.8085 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.0359, allocations: 8.531 kB / 0.8085 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.03592, allocations: 19.97 kB / 0.8085 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.03594, allocations: 13.67 kB / 0.8086 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001465/0.03609, allocations: 191.2 kB / 0.8087 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03609, allocations: 0 / 0.8087 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003459/0.03643, allocations: 191.5 kB / 0.8089 GB, free: 2.332 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0002232/0.03666, allocations: 160.2 kB / 0.8091 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.03684, allocations: 152.1 kB / 0.8092 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.03686, allocations: 8.719 kB / 0.8092 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.03693, allocations: 68.3 kB / 0.8093 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.03753, allocations: 278.5 kB / 0.8096 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.03879, allocations: 0.9811 MB / 0.8105 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.03888, allocations: 139.7 kB / 0.8106 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.0391, allocations: 83 kB / 0.8107 GB, free: 460 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.03942, allocations: 231.1 kB / 0.8109 GB, free: 228 kB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.03942, allocations: 0 / 0.8109 GB, free: 228 kB / 0.7605 GB Notification: Performance of Templates: time 0.01224/0.05166, allocations: 10.3 MB / 0.821 GB, free: 6.184 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Validation.Tanks.sim & (cd run_cvode && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.848558855243027]