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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001546/0.001547, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 285.1 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 178.5 MB / 0.5079 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 103.8 kB / 0.6071 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1865, allocations: 89.14 MB / 0.6942 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3531/0.5397, allocations: 55.99 MB / 0.7488 GB, free: 17.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.5593, allocations: 17.94 MB / 0.7664 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/0.5628, allocations: 74 kB / 0.7664 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.5656, allocations: 0.9015 MB / 0.7673 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.5725, allocations: 2.502 MB / 0.7697 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.5762, allocations: 1.525 MB / 0.7712 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0242/0.6005, allocations: 21.24 MB / 0.792 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01642/0.6169, allocations: 10.69 MB / 0.8024 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01838/0.6354, allocations: 7.125 MB / 0.8094 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.6494, allocations: 6.375 MB / 0.8156 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003496/0.653, allocations: 0.9382 MB / 0.8165 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008468/0.6614, allocations: 1.695 MB / 0.8182 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004634/0.6661, allocations: 2.335 MB / 0.8204 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01084/0.677, allocations: 4.712 MB / 0.8251 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.6939, allocations: 13.03 MB / 0.8378 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6939, allocations: 0 / 0.8378 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.694, allocations: 0 / 0.8378 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004183/0.6944, allocations: 4 kB / 0.8378 GB, free: 7.211 MB / 0.5919 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.02231/0.7167, allocations: 8.521 MB / 0.8461 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7168, allocations: 12.03 kB / 0.8461 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/0.7207, allocations: 0.8508 MB / 0.8469 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.7353, allocations: 6.43 MB / 0.8532 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/0.7359, allocations: 460.6 kB / 0.8537 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.7383, allocations: 0.6013 MB / 0.8543 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.7618, allocations: 9.036 MB / 0.8631 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.7622, allocations: 15.88 kB / 0.8631 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002084/0.7643, allocations: 260 kB / 0.8633 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.7645, allocations: 176 kB / 0.8635 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.7818, allocations: 7.453 MB / 0.8708 GB, free: 4.922 MB / 0.6231 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.0591/0.8409, allocations: 36.25 MB / 0.9062 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/0.8488, allocations: 4.296 MB / 0.9104 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/0.8546, allocations: 3.3 MB / 0.9136 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.8562, allocations: 0.9583 MB / 0.9145 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00492/0.8612, allocations: 2.383 MB / 0.9169 GB, free: 3.449 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002588/0.8638, allocations: 379.6 kB / 0.9172 GB, free: 3.074 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.186e-05/0.8638, allocations: 4 kB / 0.9172 GB, free: 3.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01612/0.8799, allocations: 7.129 MB / 0.9242 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.8801, allocations: 81.91 kB / 0.9243 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/0.8916, allocations: 5.666 MB / 0.9298 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008699/0.8925, allocations: 89.7 kB / 0.9299 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00432/0.8968, allocations: 3.2 MB / 0.933 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002093/0.899, allocations: 1.113 MB / 0.9341 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/0.9016, allocations: 0.858 MB / 0.9349 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9018, allocations: 305.1 kB / 0.9352 GB, free: 496 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/0.906, allocations: 2.163 MB / 0.9373 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.912, allocations: 3.697 MB / 0.941 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/0.9226, allocations: 6.327 MB / 0.9471 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.325e-05/0.9227, allocations: 12 kB / 0.9471 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01463/0.9373, allocations: 6.77 MB / 0.9538 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.9374, allocations: 59.09 kB / 0.9538 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-05/0.9375, allocations: 48 kB / 0.9539 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.9386, allocations: 433.5 kB / 0.9543 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/0.9428, allocations: 1.006 MB / 0.9553 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.9499, allocations: 5.715 MB / 0.9608 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00652/0.9565, allocations: 279.5 kB / 0.9611 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/0.9577, allocations: 220 kB / 0.9613 GB, free: 4.016 MB / 0.7169 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.006159/0.9639, allocations: 2.483 MB / 0.9637 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/0.9661, allocations: 0.5248 MB / 0.9642 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.9782, allocations: 5.269 MB / 0.9694 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.9783, allocations: 32 kB / 0.9694 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/0.9783, allocations: 7.984 kB / 0.9694 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008002/0.9863, allocations: 4.535 MB / 0.9739 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/1.015, allocations: 12.04 MB / 0.9856 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.015, allocations: 0 / 0.9856 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.018, allocations: 0.6438 MB / 0.9862 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009783/1.019, allocations: 377.3 kB / 0.9866 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005393/1.02, allocations: 83.95 kB / 0.9867 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006487/1.026, allocations: 5.624 MB / 0.9922 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.026, allocations: 4 kB / 0.9922 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3429/1.369, allocations: 7.753 MB / 0.9998 GB, free: 227 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00299/1.372, allocations: 1.162 MB / 1.001 GB, free: 226.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.373, allocations: 69.2 kB / 1.001 GB, free: 226.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.377, allocations: 197.5 kB / 1.001 GB, free: 226.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.377, allocations: 199 kB / 1.001 GB, free: 226.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002659/1.377, allocations: 139 kB / 1.001 GB, free: 226.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005195/1.382, allocations: 3.958 MB / 1.005 GB, free: 225.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.51e-07/1.382, allocations: 5.75 kB / 1.005 GB, free: 225.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005949/1.388, allocations: 2.008 MB / 1.007 GB, free: 225.4 MB / 0.7481 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.001229/1.39, allocations: 492.1 kB / 1.008 GB, free: 225.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01916/1.409, allocations: 11.63 MB / 1.019 GB, free: 223.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.409, allocations: 2.344 kB / 1.019 GB, free: 223.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.412, allocations: 2.542 MB / 1.022 GB, free: 222.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/1.427, allocations: 3.4 MB / 1.025 GB, free: 221.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.448, allocations: 14.08 MB / 1.039 GB, free: 215.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004079/1.452, allocations: 4.549 MB / 1.043 GB, free: 213.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/1.454, allocations: 491.2 kB / 1.044 GB, free: 213.9 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/1.454, allocations: 7.938 kB / 1.044 GB, free: 213.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.1855/1.64, allocations: 187.4 MB / 1.227 GB, free: 48.64 MB / 0.7481 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)