Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.851/0.851, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 184.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 441.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.00091, allocations: 95.52 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 287.2 kB / 0.594 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/3.991e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4954, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9318/1.427, allocations: 378.4 MB / 1.134 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.428, allocations: 99.89 kB / 1.134 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.911/10.34, allocations: 2.22 GB / 3.354 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.176e-06/10.34, allocations: 0 / 3.354 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001344/10.34, allocations: 191.8 kB / 3.354 GB, free: 6.418 MB / 0.7292 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.02346/10.36, allocations: 6.108 MB / 3.36 GB, free: 236 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/10.36, allocations: 16.03 kB / 3.36 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5648/10.93, allocations: 0.8321 MB / 3.361 GB, free: 82.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/10.95, allocations: 7.714 MB / 3.368 GB, free: 81.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/10.95, allocations: 459.4 kB / 3.369 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/10.96, allocations: 0.5982 MB / 3.369 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02705/10.98, allocations: 8.315 MB / 3.377 GB, free: 80.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004701/10.98, allocations: 18.84 kB / 3.377 GB, free: 80.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/10.99, allocations: 261 kB / 3.378 GB, free: 80.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/10.99, allocations: 247.4 kB / 3.378 GB, free: 80.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/11, allocations: 6.73 MB / 3.384 GB, free: 80.57 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.06601/11.07, allocations: 34.22 MB / 3.418 GB, free: 66.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007587/11.08, allocations: 4.168 MB / 3.422 GB, free: 66.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005314/11.08, allocations: 3.462 MB / 3.425 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/11.08, allocations: 0.9615 MB / 3.426 GB, free: 65.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005459/11.09, allocations: 2.283 MB / 3.428 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004955/11.09, allocations: 485.4 kB / 3.429 GB, free: 64.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 2.363e-05/11.09, allocations: 0 / 3.429 GB, free: 64.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01013/11.1, allocations: 4.52 MB / 3.433 GB, free: 64.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/11.1, allocations: 83.31 kB / 3.433 GB, free: 64.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/11.12, allocations: 5.14 MB / 3.438 GB, free: 63.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/11.12, allocations: 86.08 kB / 3.439 GB, free: 63.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004728/11.12, allocations: 3.156 MB / 3.442 GB, free: 62.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002177/11.13, allocations: 1.116 MB / 3.443 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009499/11.13, allocations: 90.69 kB / 3.443 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000546/11.13, allocations: 498.5 kB / 3.443 GB, free: 61.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/11.13, allocations: 2.045 MB / 3.445 GB, free: 61.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/11.14, allocations: 3.584 MB / 3.449 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/11.14, allocations: 2.831 MB / 3.452 GB, free: 59.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-05/11.14, allocations: 18.16 kB / 3.452 GB, free: 59.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0138/11.16, allocations: 6.531 MB / 3.458 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/11.16, allocations: 56.77 kB / 3.458 GB, free: 59.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/11.16, allocations: 51.22 kB / 3.458 GB, free: 59.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/11.16, allocations: 434.8 kB / 3.458 GB, free: 59.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/11.16, allocations: 1.038 MB / 3.459 GB, free: 59.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/11.17, allocations: 5.288 MB / 3.465 GB, free: 56.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007395/11.17, allocations: 479.9 kB / 3.465 GB, free: 56.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/11.17, allocations: 221 kB / 3.465 GB, free: 56.38 MB / 0.7292 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002362/11.18, allocations: 395.4 kB / 3.466 GB, free: 56.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002566/11.18, allocations: 0.5216 MB / 3.466 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/11.19, allocations: 5.079 MB / 3.471 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/11.19, allocations: 35.3 kB / 3.471 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/11.19, allocations: 11.19 kB / 3.471 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006696/11.2, allocations: 4.352 MB / 3.475 GB, free: 55.26 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.02956/11.23, allocations: 11.82 MB / 3.487 GB, free: 54.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/11.23, allocations: 0 / 3.487 GB, free: 54.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/11.23, allocations: 0.6294 MB / 3.488 GB, free: 54.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009094/11.23, allocations: 359.5 kB / 3.488 GB, free: 54.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/11.23, allocations: 88.47 kB / 3.488 GB, free: 54.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/11.24, allocations: 5.201 MB / 3.493 GB, free: 51.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/11.24, allocations: 2.734 kB / 3.493 GB, free: 51.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/11.25, allocations: 7.533 MB / 3.5 GB, free: 50.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004913/11.26, allocations: 1.262 MB / 3.502 GB, free: 50.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/11.26, allocations: 65.3 kB / 3.502 GB, free: 50.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005871/11.26, allocations: 412.3 kB / 3.502 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/11.26, allocations: 197.1 kB / 3.502 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006635/11.26, allocations: 138.2 kB / 3.502 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.008742/11.27, allocations: 3.99 MB / 3.506 GB, free: 50.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/11.27, allocations: 0 / 3.506 GB, free: 50.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01143/11.28, allocations: 2.058 MB / 3.508 GB, free: 50.07 MB / 0.7292 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/11.29, allocations: 0.8288 MB / 3.509 GB, free: 49.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009856/11.3, allocations: 5.196 MB / 3.514 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/11.3, allocations: 6.531 kB / 3.514 GB, free: 49.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004318/11.3, allocations: 2.424 MB / 3.517 GB, free: 48.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0181/11.32, allocations: 3.179 MB / 3.52 GB, free: 48.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/11.35, allocations: 11.6 MB / 3.531 GB, free: 44.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/11.36, allocations: 4.716 MB / 3.536 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01019/11.37, allocations: 2.056 MB / 3.538 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002888/11.38, allocations: 471.7 kB / 3.538 GB, free: 58.67 MB / 0.7448 GB Notification: Performance of SimCode: time 1.583e-06/11.38, allocations: 0 / 3.538 GB, free: 58.67 MB / 0.7448 GB Notification: Performance of Templates: time 0.7749/12.15, allocations: 119.4 MB / 3.655 GB, free: 87.02 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)