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.001038/0.001038, allocations: 84.8 kB / 21.62 MB, free: 2.844 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.00103/0.00103, allocations: 166.8 kB / 25.04 MB, free: 8.738 MB / 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.8844/0.8844, allocations: 177.1 MB / 205.5 MB, free: 4.422 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.979/1.979, allocations: 389.6 MB / 0.6363 GB, free: 13.38 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 5.942e-06/5.942e-06, allocations: 3.938 kB / 0.7761 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/2.181e-05, allocations: 2.312 kB / 0.7761 GB, free: 13.9 MB / 0.7448 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.01012/0.01014, allocations: 12.29 MB / 0.7881 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006754/0.01689, allocations: 5.404 MB / 0.7934 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.0174, allocations: 67.44 kB / 0.7935 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.01789, allocations: 250.1 kB / 0.7937 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01908, allocations: 0.8662 MB / 0.7946 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.01986, allocations: 0.6393 MB / 0.7952 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.02127, allocations: 2.041 MB / 0.7972 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000756/0.02203, allocations: 0.5408 MB / 0.7977 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.02331, allocations: 0.9346 MB / 0.7986 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.02372, allocations: 490.4 kB / 0.7991 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.02379, allocations: 60 kB / 0.7991 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.02417, allocations: 275.5 kB / 0.7994 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.02437, allocations: 199.2 kB / 0.7996 GB, free: 5.777 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.02455, allocations: 271.4 kB / 0.7999 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.02523, allocations: 0.7319 MB / 0.8006 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.02524, allocations: 0 / 0.8006 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/0.02524, allocations: 4 kB / 0.8006 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.02524, allocations: 3.938 kB / 0.8006 GB, free: 4.77 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.0008638/0.02611, allocations: 0.9267 MB / 0.8015 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.02613, allocations: 8.031 kB / 0.8015 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.02628, allocations: 104.8 kB / 0.8016 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.02702, allocations: 486 kB / 0.8021 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.02704, allocations: 37.38 kB / 0.8021 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.02709, allocations: 60.31 kB / 0.8022 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.02748, allocations: 492.9 kB / 0.8026 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.02749, allocations: 0 / 0.8026 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.02752, allocations: 24 kB / 0.8026 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.02754, allocations: 16 kB / 0.8027 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.02779, allocations: 157.6 kB / 0.8028 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.02929, allocations: 1.679 MB / 0.8045 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.02953, allocations: 178.8 kB / 0.8046 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.02958, allocations: 48.11 kB / 0.8047 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.385/0.4145, allocations: 0.586 MB / 0.8052 GB, free: 25.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4146, allocations: 35.77 kB / 0.8053 GB, free: 25.31 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.4146, allocations: 0.5938 kB / 0.8053 GB, free: 25.31 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.0002858/0.4149, allocations: 184 kB / 0.8054 GB, free: 25.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.4149, allocations: 57.28 kB / 0.8055 GB, free: 25.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4152, allocations: 450.3 kB / 0.8059 GB, free: 25.05 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4152, allocations: 28.95 kB / 0.806 GB, free: 25.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4153, allocations: 310.3 kB / 0.8063 GB, free: 24.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4154, allocations: 80.69 kB / 0.8063 GB, free: 24.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.4155, allocations: 78.11 kB / 0.8064 GB, free: 24.88 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.4155, allocations: 362.3 kB / 0.8068 GB, free: 24.56 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.4156, allocations: 31.22 kB / 0.8068 GB, free: 24.56 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4157, allocations: 279 kB / 0.807 GB, free: 24.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4159, allocations: 244 kB / 0.8073 GB, free: 24.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4159, allocations: 1.609 kB / 0.8073 GB, free: 24.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002524/0.4161, allocations: 234.9 kB / 0.8075 GB, free: 24.06 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4161, allocations: 7.969 kB / 0.8075 GB, free: 24.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4161, allocations: 4.375 kB / 0.8075 GB, free: 24.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4162, allocations: 11.16 kB / 0.8075 GB, free: 24.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4163, allocations: 78.44 kB / 0.8076 GB, free: 24.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4163, allocations: 10.89 kB / 0.8076 GB, free: 24.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4165, allocations: 38.31 kB / 0.8077 GB, free: 24.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.4165, allocations: 19.55 kB / 0.8077 GB, free: 24.04 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.0001073/0.4166, allocations: 141.6 kB / 0.8078 GB, free: 23.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.4167, allocations: 39.64 kB / 0.8078 GB, free: 23.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.4169, allocations: 175.5 kB / 0.808 GB, free: 23.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4169, allocations: 8.297 kB / 0.808 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4169, allocations: 1.781 kB / 0.808 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000138/0.417, allocations: 354.7 kB / 0.8084 GB, free: 23.54 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.4176, allocations: 0.5782 MB / 0.8089 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4176, allocations: 2.281 kB / 0.8089 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4177, allocations: 50.12 kB / 0.809 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4177, allocations: 2.125 kB / 0.809 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4177, allocations: 11.39 kB / 0.809 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4177, allocations: 2.875 kB / 0.809 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4177, allocations: 1.344 kB / 0.809 GB, free: 23.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.418, allocations: 361.6 kB / 0.8093 GB, free: 23.03 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.4181, allocations: 68.36 kB / 0.8094 GB, free: 23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4181, allocations: 8.781 kB / 0.8094 GB, free: 23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4182, allocations: 9.188 kB / 0.8094 GB, free: 23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.4183, allocations: 22.45 kB / 0.8094 GB, free: 22.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4183, allocations: 7.203 kB / 0.8094 GB, free: 22.99 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001709/0.4184, allocations: 193.7 kB / 0.8096 GB, free: 22.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2e-07/0.4184, allocations: 1 kB / 0.8096 GB, free: 22.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004675/0.4189, allocations: 188.5 kB / 0.8098 GB, free: 22.96 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.0002768/0.4192, allocations: 161.5 kB / 0.81 GB, free: 22.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.4194, allocations: 150.5 kB / 0.8101 GB, free: 22.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.4194, allocations: 7 kB / 0.8101 GB, free: 22.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.4195, allocations: 71.73 kB / 0.8102 GB, free: 22.86 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.4202, allocations: 286.1 kB / 0.8105 GB, free: 22.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4216, allocations: 0.9792 MB / 0.8114 GB, free: 22.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4217, allocations: 134.9 kB / 0.8115 GB, free: 22.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.4219, allocations: 86.06 kB / 0.8116 GB, free: 22.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.4223, allocations: 230.6 kB / 0.8118 GB, free: 22.21 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/0.4223, allocations: 2.375 kB / 0.8118 GB, free: 22.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.01543/0.4377, allocations: 10.32 MB / 0.8219 GB, free: 21.29 MB / 0.7605 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 & ./Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.24323180411011]