Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001092, allocations: 120.1 kB / 17.09 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 196.7 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6934/0.6934, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.77 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 76.17 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05169/0.1911, allocations: 55.99 MB / 0.6874 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.2146, allocations: 17.94 MB / 0.7049 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/0.218, allocations: 79.56 kB / 0.705 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.2212, allocations: 0.8963 MB / 0.7059 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007519/0.2287, allocations: 2.503 MB / 0.7083 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.2329, allocations: 1.536 MB / 0.7098 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01949/0.2524, allocations: 21.26 MB / 0.7306 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.2655, allocations: 10.68 MB / 0.741 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4079/0.6735, allocations: 7.225 MB / 0.7481 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.6859, allocations: 6.359 MB / 0.7543 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003815/0.6898, allocations: 0.9374 MB / 0.7552 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009451/0.6993, allocations: 1.7 MB / 0.7568 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005729/0.705, allocations: 2.338 MB / 0.7591 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.7191, allocations: 4.709 MB / 0.7637 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01963/0.7387, allocations: 13.19 MB / 0.7766 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7388, allocations: 0.5625 kB / 0.7766 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.614e-06/0.7388, allocations: 2.125 kB / 0.7766 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005654/0.7394, allocations: 0 / 0.7766 GB, free: 12.98 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02797/0.7674, allocations: 8.523 MB / 0.7849 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7674, allocations: 9.875 kB / 0.7849 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.7728, allocations: 0.8467 MB / 0.7858 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.7876, allocations: 6.701 MB / 0.7923 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.7881, allocations: 459.1 kB / 0.7928 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.7907, allocations: 0.5999 MB / 0.7933 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.8122, allocations: 9.028 MB / 0.8022 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.8124, allocations: 20.5 kB / 0.8022 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.8136, allocations: 261.4 kB / 0.8024 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.8138, allocations: 180.8 kB / 0.8026 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.8288, allocations: 7.45 MB / 0.8099 GB, free: 1.102 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05871/0.8875, allocations: 36 MB / 0.845 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008109/0.8957, allocations: 4.277 MB / 0.8492 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005916/0.9017, allocations: 3.304 MB / 0.8524 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.9032, allocations: 0.9526 MB / 0.8534 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00529/0.9085, allocations: 2.39 MB / 0.8557 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003483/0.912, allocations: 367.8 kB / 0.856 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.572e-05/0.9121, allocations: 0 / 0.856 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01662/0.9287, allocations: 7.138 MB / 0.863 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.9288, allocations: 85.89 kB / 0.8631 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/0.9414, allocations: 5.674 MB / 0.8686 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009593/0.9424, allocations: 85.7 kB / 0.8687 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004398/0.9468, allocations: 3.193 MB / 0.8718 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002037/0.9488, allocations: 1.116 MB / 0.8729 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00306/0.9519, allocations: 0.858 MB / 0.8738 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.952, allocations: 301.1 kB / 0.8741 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/0.9562, allocations: 2.163 MB / 0.8762 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/0.9615, allocations: 3.697 MB / 0.8798 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/0.9708, allocations: 6.325 MB / 0.886 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/0.9709, allocations: 12.75 kB / 0.886 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01426/0.9852, allocations: 6.777 MB / 0.8926 GB, free: 12.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.9853, allocations: 57.77 kB / 0.8926 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-05/0.9854, allocations: 48 kB / 0.8927 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.9866, allocations: 437.9 kB / 0.8931 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/0.9907, allocations: 0.9987 MB / 0.8941 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.9971, allocations: 5.703 MB / 0.8996 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.003, allocations: 287.4 kB / 0.8999 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.004, allocations: 223.9 kB / 0.9001 GB, free: 4.938 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006176/1.01, allocations: 2.486 MB / 0.9026 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/1.013, allocations: 0.521 MB / 0.9031 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.024, allocations: 5.263 MB / 0.9082 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/1.024, allocations: 36 kB / 0.9082 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.024, allocations: 4 kB / 0.9082 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006841/1.031, allocations: 4.531 MB / 0.9127 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/1.069, allocations: 11.98 MB / 0.9244 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.069, allocations: 0 / 0.9244 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004696/1.074, allocations: 0.6445 MB / 0.925 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/1.075, allocations: 373.7 kB / 0.9254 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006128/1.076, allocations: 83.95 kB / 0.9254 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/1.084, allocations: 5.616 MB / 0.9309 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.084, allocations: 7.281 kB / 0.9309 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.097, allocations: 7.766 MB / 0.9385 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003334/1.101, allocations: 1.154 MB / 0.9396 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.102, allocations: 67.98 kB / 0.9397 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.105, allocations: 206 kB / 0.9399 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/1.105, allocations: 197.5 kB / 0.9401 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/1.105, allocations: 139.9 kB / 0.9402 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006208/1.112, allocations: 3.963 MB / 0.9441 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.112, allocations: 4 kB / 0.9441 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006762/1.118, allocations: 2.003 MB / 0.9461 GB, free: 5.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/1.12, allocations: 489.1 kB / 0.9465 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007802/1.128, allocations: 5.449 MB / 0.9518 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.128, allocations: 4 kB / 0.9518 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.131, allocations: 2.537 MB / 0.9543 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01349/1.144, allocations: 3.394 MB / 0.9576 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.166, allocations: 13.92 MB / 0.9712 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/1.17, allocations: 4.553 MB / 0.9757 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/1.172, allocations: 491.3 kB / 0.9761 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of SimCode: time 1.302e-06/1.172, allocations: 0 / 0.9761 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of Templates: time 0.5592/1.731, allocations: 188.9 MB / 1.161 GB, free: 214.4 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)