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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4661/0.4661, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 93.27 kB / 420 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 47.92 kB / 0.4891 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3831, allocations: 70.07 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04449/0.4276, allocations: 55.63 MB / 0.6118 GB, free: 5.398 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02706/0.4547, allocations: 17.91 MB / 0.6293 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.4594, allocations: 71.56 kB / 0.6294 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.4632, allocations: 0.7263 MB / 0.6301 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009382/0.4727, allocations: 2.313 MB / 0.6323 GB, free: 324 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.4778, allocations: 1.385 MB / 0.6337 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02847/0.5063, allocations: 27.95 MB / 0.661 GB, free: 2.922 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/0.5206, allocations: 8.736 MB / 0.6695 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/0.5346, allocations: 5.607 MB / 0.675 GB, free: 4.438 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.5485, allocations: 6.197 MB / 0.681 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003081/0.5516, allocations: 472 kB / 0.6815 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007798/0.5594, allocations: 1.155 MB / 0.6826 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00466/0.5641, allocations: 1.79 MB / 0.6844 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.01407/0.5782, allocations: 4.125 MB / 0.6884 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.5999, allocations: 12.64 MB / 0.7007 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6, allocations: 0 / 0.7007 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6, allocations: 0 / 0.7007 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005499/0.6005, allocations: 0 / 0.7007 GB, free: 9.98 MB / 0.5105 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.02751/0.6281, allocations: 8.505 MB / 0.709 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6281, allocations: 16.02 kB / 0.7091 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005504/0.6336, allocations: 0.8509 MB / 0.7099 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.384/1.018, allocations: 6.61 MB / 0.7163 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000457/1.018, allocations: 463.3 kB / 0.7168 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.021, allocations: 0.5975 MB / 0.7174 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02713/1.048, allocations: 9.024 MB / 0.7262 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.049, allocations: 19.5 kB / 0.7262 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/1.051, allocations: 261.7 kB / 0.7265 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/1.051, allocations: 187.6 kB / 0.7266 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/1.068, allocations: 7.447 MB / 0.7339 GB, free: 123.4 MB / 0.5105 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.05415/1.122, allocations: 35.92 MB / 0.769 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006201/1.129, allocations: 4.274 MB / 0.7732 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/1.133, allocations: 3.308 MB / 0.7764 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.134, allocations: 0.9614 MB / 0.7773 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004167/1.139, allocations: 2.383 MB / 0.7796 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003619/1.142, allocations: 441 kB / 0.7801 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 1.484e-05/1.142, allocations: 0 / 0.7801 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.01218/1.155, allocations: 7.105 MB / 0.787 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.155, allocations: 81.91 kB / 0.7871 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009922/1.165, allocations: 5.475 MB / 0.7924 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007883/1.165, allocations: 85.7 kB / 0.7925 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.168, allocations: 3.195 MB / 0.7956 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/1.17, allocations: 1.125 MB / 0.7967 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002731/1.173, allocations: 0.8503 MB / 0.7976 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/1.173, allocations: 301.1 kB / 0.7979 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/1.177, allocations: 2.152 MB / 0.8 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003803/1.18, allocations: 3.685 MB / 0.8036 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007656/1.188, allocations: 6.303 MB / 0.8097 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.589e-05/1.188, allocations: 15.19 kB / 0.8097 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01299/1.201, allocations: 6.752 MB / 0.8163 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/1.201, allocations: 55.58 kB / 0.8164 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.102e-05/1.201, allocations: 52.16 kB / 0.8164 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009835/1.202, allocations: 446.9 kB / 0.8168 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/1.206, allocations: 0.9984 MB / 0.8178 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004629/1.21, allocations: 5.264 MB / 0.823 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006051/1.216, allocations: 470.6 kB / 0.8234 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006629/1.217, allocations: 212 kB / 0.8236 GB, free: 27.88 MB / 0.5105 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.004835/1.222, allocations: 2.48 MB / 0.826 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/1.224, allocations: 0.5249 MB / 0.8265 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/1.234, allocations: 5.251 MB / 0.8317 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.234, allocations: 32 kB / 0.8317 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.234, allocations: 4 kB / 0.8317 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00621/1.24, allocations: 4.521 MB / 0.8361 GB, free: 14.89 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.02759/1.268, allocations: 11.96 MB / 0.8478 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.268, allocations: 4 kB / 0.8478 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.27, allocations: 0.6399 MB / 0.8484 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/1.271, allocations: 375.6 kB / 0.8488 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004575/1.272, allocations: 87.95 kB / 0.8489 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/1.278, allocations: 5.174 MB / 0.8539 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.278, allocations: 0 / 0.8539 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1163/1.394, allocations: 47.44 MB / 0.9003 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004464/1.398, allocations: 1.131 MB / 0.9014 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.4, allocations: 75.86 kB / 0.9014 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004801/1.405, allocations: 462.4 kB / 0.9019 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/1.405, allocations: 198.2 kB / 0.9021 GB, free: 10.24 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003678/1.406, allocations: 139.9 kB / 0.9022 GB, free: 10.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007094/1.413, allocations: 3.807 MB / 0.9059 GB, free: 6.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.413, allocations: 4 kB / 0.9059 GB, free: 6.316 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0154/1.428, allocations: 2.913 MB / 0.9088 GB, free: 3.398 MB / 0.573 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.001836/1.43, allocations: 493.3 kB / 0.9092 GB, free: 2.918 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008965/1.439, allocations: 5.37 MB / 0.9145 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.439, allocations: 8.062 kB / 0.9145 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00415/1.443, allocations: 2.506 MB / 0.9169 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02363/1.467, allocations: 3.22 MB / 0.9201 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0389/1.506, allocations: 19 MB / 0.9386 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.349/1.855, allocations: 4.711 MB / 0.9432 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01025/1.865, allocations: 2.063 MB / 0.9452 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/1.869, allocations: 495.6 kB / 0.9457 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/1.869, allocations: 3 kB / 0.9457 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.1987/2.067, allocations: 131.4 MB / 1.074 GB, free: 93.41 MB / 0.6042 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)