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.001228/0.001228, allocations: 116.8 kB / 17.09 MB, free: 5.992 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.001163/0.001163, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.234/1.234, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6882/0.6882, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.41 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04855/0.1955, allocations: 55.99 MB / 0.6874 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.2176, allocations: 17.95 MB / 0.7049 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.2209, allocations: 75.56 kB / 0.705 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.2247, allocations: 0.9041 MB / 0.7059 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007983/0.2327, allocations: 2.501 MB / 0.7083 GB, free: 6.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.2369, allocations: 1.529 MB / 0.7098 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01932/0.2563, allocations: 21.26 MB / 0.7306 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.2689, allocations: 10.67 MB / 0.741 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3773/0.6463, allocations: 7.247 MB / 0.7481 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/0.6582, allocations: 6.351 MB / 0.7543 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004169/0.6624, allocations: 0.9384 MB / 0.7552 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009708/0.6721, allocations: 1.695 MB / 0.7568 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006262/0.6784, allocations: 2.344 MB / 0.7591 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0137/0.6921, allocations: 4.704 MB / 0.7637 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.7102, allocations: 13.19 MB / 0.7766 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.7102, allocations: 5.625 kB / 0.7766 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7103, allocations: 1.281 kB / 0.7766 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004699/0.7107, allocations: 0 / 0.7766 GB, free: 13.07 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.02482/0.7356, allocations: 8.516 MB / 0.7849 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7356, allocations: 8.688 kB / 0.7849 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.7407, allocations: 0.8506 MB / 0.7858 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.7553, allocations: 6.701 MB / 0.7923 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/0.7557, allocations: 459.3 kB / 0.7927 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/0.7583, allocations: 0.6012 MB / 0.7933 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.7782, allocations: 9.026 MB / 0.8022 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.7784, allocations: 20.59 kB / 0.8022 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.7797, allocations: 268.7 kB / 0.8024 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.7799, allocations: 177.4 kB / 0.8026 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.796, allocations: 7.449 MB / 0.8099 GB, free: 1.164 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.0559/0.8519, allocations: 36 MB / 0.845 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006446/0.8584, allocations: 4.28 MB / 0.8492 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004714/0.8631, allocations: 3.301 MB / 0.8524 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.8644, allocations: 0.9554 MB / 0.8534 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0043/0.8688, allocations: 2.39 MB / 0.8557 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002826/0.8716, allocations: 370.8 kB / 0.856 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.217e-05/0.8716, allocations: 0 / 0.856 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01436/0.886, allocations: 7.133 MB / 0.863 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.8861, allocations: 93.89 kB / 0.8631 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/0.8977, allocations: 5.67 MB / 0.8686 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009375/0.8987, allocations: 86.36 kB / 0.8687 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003552/0.9023, allocations: 3.191 MB / 0.8718 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/0.9041, allocations: 1.115 MB / 0.8729 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.9055, allocations: 0.858 MB / 0.8738 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.9056, allocations: 301.1 kB / 0.8741 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/0.9087, allocations: 2.16 MB / 0.8762 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/0.9128, allocations: 3.7 MB / 0.8798 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007986/0.9208, allocations: 6.326 MB / 0.886 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/0.9208, allocations: 16 kB / 0.886 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01127/0.9321, allocations: 6.774 MB / 0.8926 GB, free: 12.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.9322, allocations: 53.7 kB / 0.8926 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/0.9323, allocations: 48 kB / 0.8927 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009688/0.9333, allocations: 440.5 kB / 0.8931 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.9372, allocations: 0.9983 MB / 0.8941 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.9427, allocations: 5.713 MB / 0.8997 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/0.9481, allocations: 287.4 kB / 0.8999 GB, free: 5.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008753/0.949, allocations: 220 kB / 0.9001 GB, free: 4.996 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.004891/0.9539, allocations: 2.476 MB / 0.9026 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.9556, allocations: 0.5288 MB / 0.9031 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008568/0.9642, allocations: 5.264 MB / 0.9082 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.9643, allocations: 32 kB / 0.9082 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.9643, allocations: 7.188 kB / 0.9082 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006948/0.9713, allocations: 4.533 MB / 0.9127 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/0.9955, allocations: 11.98 MB / 0.9244 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.9956, allocations: 7.984 kB / 0.9244 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/0.9983, allocations: 0.6437 MB / 0.925 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000839/0.9992, allocations: 365.4 kB / 0.9254 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/0.9995, allocations: 83.95 kB / 0.9254 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/1.005, allocations: 5.62 MB / 0.9309 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.005, allocations: 3 kB / 0.9309 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.017, allocations: 7.764 MB / 0.9385 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004194/1.021, allocations: 1.158 MB / 0.9396 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/1.023, allocations: 67.98 kB / 0.9397 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/1.027, allocations: 195.7 kB / 0.9399 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/1.027, allocations: 198.2 kB / 0.9401 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003917/1.028, allocations: 139.9 kB / 0.9402 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007296/1.035, allocations: 3.969 MB / 0.9441 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/1.035, allocations: 0 / 0.9441 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008218/1.043, allocations: 2.01 MB / 0.9461 GB, free: 5.578 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.00172/1.045, allocations: 494.6 kB / 0.9465 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008826/1.054, allocations: 5.448 MB / 0.9518 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.054, allocations: 4 kB / 0.9519 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/1.058, allocations: 2.538 MB / 0.9543 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01661/1.074, allocations: 3.38 MB / 0.9576 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.099, allocations: 13.93 MB / 0.9712 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/1.104, allocations: 4.549 MB / 0.9757 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/1.107, allocations: 491.3 kB / 0.9761 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of SimCode: time 2.655e-06/1.107, allocations: 0 / 0.9761 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of Templates: time 0.5565/1.663, allocations: 188.9 MB / 1.161 GB, free: 214.6 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)