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.001461/0.001461, allocations: 101.8 kB / 16.4 MB, free: 6.457 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.001678/0.001678, allocations: 196 kB / 17.34 MB, free: 5.719 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7884/0.7884, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 65.92 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1874, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0541/0.2416, allocations: 55.97 MB / 0.6867 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02719/0.2688, allocations: 17.95 MB / 0.7043 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004188/0.273, allocations: 75.56 kB / 0.7043 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.2765, allocations: 0.9041 MB / 0.7052 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00913/0.2857, allocations: 2.499 MB / 0.7077 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.2906, allocations: 1.544 MB / 0.7092 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02251/0.3132, allocations: 21.25 MB / 0.7299 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01489/0.3281, allocations: 10.68 MB / 0.7403 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4842/0.8123, allocations: 7.221 MB / 0.7474 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.8289, allocations: 6.361 MB / 0.7536 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.006656/0.8356, allocations: 0.9355 MB / 0.7545 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.8495, allocations: 1.7 MB / 0.7562 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007729/0.8572, allocations: 2.338 MB / 0.7585 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01905/0.8763, allocations: 4.707 MB / 0.7631 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.9003, allocations: 13.19 MB / 0.7759 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.9003, allocations: 0 / 0.7759 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.886e-06/0.9004, allocations: 0.6562 kB / 0.7759 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006525/0.901, allocations: 0 / 0.7759 GB, free: 13.43 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.02891/0.9299, allocations: 8.525 MB / 0.7843 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.93, allocations: 9.094 kB / 0.7843 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.935, allocations: 0.8563 MB / 0.7851 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.9499, allocations: 6.688 MB / 0.7916 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004452/0.9504, allocations: 459.3 kB / 0.7921 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.9529, allocations: 0.6011 MB / 0.7927 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.972, allocations: 9.029 MB / 0.8015 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.9722, allocations: 20 kB / 0.8015 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008907/0.9731, allocations: 262.8 kB / 0.8018 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.9733, allocations: 182.7 kB / 0.8019 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.9878, allocations: 7.448 MB / 0.8092 GB, free: 1.211 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.06556/1.053, allocations: 35.99 MB / 0.8444 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007888/1.061, allocations: 4.288 MB / 0.8485 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005537/1.067, allocations: 3.3 MB / 0.8518 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/1.069, allocations: 0.9605 MB / 0.8527 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004867/1.073, allocations: 2.388 MB / 0.855 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003645/1.077, allocations: 371.7 kB / 0.8554 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.226e-05/1.077, allocations: 4 kB / 0.8554 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01481/1.092, allocations: 7.132 MB / 0.8624 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.092, allocations: 85.91 kB / 0.8624 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.102, allocations: 5.67 MB / 0.868 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008027/1.103, allocations: 89.7 kB / 0.8681 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003199/1.107, allocations: 3.191 MB / 0.8712 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.108, allocations: 1.115 MB / 0.8723 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.109, allocations: 0.858 MB / 0.8731 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.11, allocations: 301.1 kB / 0.8734 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.113, allocations: 2.167 MB / 0.8755 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004232/1.117, allocations: 3.696 MB / 0.8791 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/1.126, allocations: 6.327 MB / 0.8853 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/1.126, allocations: 12 kB / 0.8853 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01205/1.138, allocations: 6.772 MB / 0.8919 GB, free: 13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/1.138, allocations: 57.7 kB / 0.892 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/1.138, allocations: 51.06 kB / 0.892 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.139, allocations: 435.2 kB / 0.8924 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/1.143, allocations: 1.005 MB / 0.8934 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/1.149, allocations: 5.706 MB / 0.899 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/1.155, allocations: 279.5 kB / 0.8993 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006952/1.156, allocations: 224 kB / 0.8995 GB, free: 5.102 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.006148/1.162, allocations: 2.481 MB / 0.9019 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/1.164, allocations: 0.5248 MB / 0.9024 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009274/1.173, allocations: 5.265 MB / 0.9076 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/1.173, allocations: 32 kB / 0.9076 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.173, allocations: 4 kB / 0.9076 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006548/1.18, allocations: 4.54 MB / 0.912 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.204, allocations: 11.98 MB / 0.9237 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.204, allocations: 0 / 0.9237 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.207, allocations: 0.6373 MB / 0.9243 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008817/1.208, allocations: 379.1 kB / 0.9247 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/1.208, allocations: 83.95 kB / 0.9248 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/1.214, allocations: 5.628 MB / 0.9303 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.214, allocations: 7.984 kB / 0.9303 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.226, allocations: 7.764 MB / 0.9379 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004806/1.231, allocations: 1.154 MB / 0.939 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.233, allocations: 63.98 kB / 0.9391 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/1.237, allocations: 190.6 kB / 0.9392 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/1.238, allocations: 198.2 kB / 0.9394 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005296/1.238, allocations: 147.9 kB / 0.9396 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01023/1.249, allocations: 3.959 MB / 0.9434 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 0.9434 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00825/1.257, allocations: 2.007 MB / 0.9454 GB, free: 5.688 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.001679/1.259, allocations: 0.4915 MB / 0.9459 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009787/1.268, allocations: 5.445 MB / 0.9512 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.268, allocations: 4 kB / 0.9512 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004497/1.273, allocations: 2.543 MB / 0.9537 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01835/1.291, allocations: 3.394 MB / 0.957 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/1.323, allocations: 13.87 MB / 0.9705 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/1.331, allocations: 4.628 MB / 0.9751 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.008872/1.34, allocations: 2.081 MB / 0.9771 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/1.342, allocations: 466.9 kB / 0.9775 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/1.342, allocations: 0 / 0.9775 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of Templates: time 0.595/1.938, allocations: 116.6 MB / 1.091 GB, free: 297.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)