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.005041/0.005041, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001114/0.001114, allocations: 190.4 kB / 16.67 MB, free: 5.977 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 / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 283.1 kB / 290.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 99.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1763, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4355/0.6119, allocations: 55.98 MB / 0.8211 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.639, allocations: 17.95 MB / 0.8386 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/0.6434, allocations: 73 kB / 0.8387 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.6465, allocations: 0.8909 MB / 0.8395 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.6552, allocations: 2.513 MB / 0.842 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.6601, allocations: 1.524 MB / 0.8435 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02292/0.683, allocations: 21.26 MB / 0.8642 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.6972, allocations: 10.68 MB / 0.8747 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/0.7138, allocations: 7.231 MB / 0.8817 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.7263, allocations: 6.374 MB / 0.8879 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003764/0.7301, allocations: 0.9375 MB / 0.8889 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00789/0.7381, allocations: 1.698 MB / 0.8905 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004835/0.7429, allocations: 2.341 MB / 0.8928 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.7548, allocations: 4.711 MB / 0.8974 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02068/0.7755, allocations: 13.19 MB / 0.9103 GB, free: 15.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7755, allocations: 3.938 kB / 0.9103 GB, free: 15.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7755, allocations: 0 / 0.9103 GB, free: 15.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005692/0.7761, allocations: 0 / 0.9103 GB, free: 15.6 MB / 0.67 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.02567/0.8018, allocations: 8.511 MB / 0.9186 GB, free: 6.992 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.8018, allocations: 8.031 kB / 0.9186 GB, free: 6.984 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.807, allocations: 0.8625 MB / 0.9195 GB, free: 6.113 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/0.8228, allocations: 6.702 MB / 0.926 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/0.8234, allocations: 468.5 kB / 0.9264 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/0.826, allocations: 0.5936 MB / 0.927 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.8518, allocations: 9.025 MB / 0.9358 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003489/0.8522, allocations: 19.78 kB / 0.9359 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/0.8545, allocations: 264 kB / 0.9361 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.8548, allocations: 183.9 kB / 0.9363 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.8721, allocations: 7.449 MB / 0.9436 GB, free: 13.04 MB / 0.7012 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.05914/0.9313, allocations: 36 MB / 0.9787 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/0.9383, allocations: 4.277 MB / 0.9829 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/0.9433, allocations: 3.305 MB / 0.9861 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.9447, allocations: 0.9544 MB / 0.987 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004478/0.9492, allocations: 2.386 MB / 0.9894 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003023/0.9522, allocations: 383.7 kB / 0.9897 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=317): time 1.657e-05/0.9523, allocations: 0 / 0.9897 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317): time 0.01432/0.9666, allocations: 7.132 MB / 0.9967 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.9667, allocations: 81.91 kB / 0.9968 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/0.978, allocations: 5.666 MB / 1.002 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008414/0.9789, allocations: 89.69 kB / 1.002 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.003801/0.9827, allocations: 3.196 MB / 1.006 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/0.9845, allocations: 1.113 MB / 1.007 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/0.9868, allocations: 0.858 MB / 1.007 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.9869, allocations: 305.1 kB / 1.008 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/0.9907, allocations: 2.167 MB / 1.01 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/0.9955, allocations: 3.697 MB / 1.013 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/1.004, allocations: 6.323 MB / 1.02 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-05/1.004, allocations: 12 kB / 1.02 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01236/1.016, allocations: 6.772 MB / 1.026 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/1.017, allocations: 57.69 kB / 1.026 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.05e-05/1.017, allocations: 48 kB / 1.026 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.018, allocations: 444 kB / 1.027 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/1.021, allocations: 1.002 MB / 1.028 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005767/1.027, allocations: 5.697 MB / 1.033 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/1.032, allocations: 287.4 kB / 1.034 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/1.032, allocations: 216 kB / 1.034 GB, free: 12.41 MB / 0.795 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.004885/1.037, allocations: 2.487 MB / 1.036 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/1.039, allocations: 0.521 MB / 1.037 GB, free: 9.383 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00989/1.049, allocations: 5.267 MB / 1.042 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/1.049, allocations: 43.98 kB / 1.042 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.049, allocations: 4 kB / 1.042 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006595/1.056, allocations: 4.531 MB / 1.046 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02397/1.08, allocations: 11.97 MB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.08, allocations: 0 / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.083, allocations: 0.6438 MB / 1.059 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008747/1.084, allocations: 373.3 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/1.084, allocations: 88.12 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/1.09, allocations: 5.613 MB / 1.065 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.09, allocations: 0 / 1.065 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.102, allocations: 7.761 MB / 1.072 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.105, allocations: 1.162 MB / 1.073 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.107, allocations: 67.92 kB / 1.073 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/1.111, allocations: 203.8 kB / 1.074 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/1.111, allocations: 194.2 kB / 1.074 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004178/1.112, allocations: 143.9 kB / 1.074 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.008081/1.12, allocations: 3.959 MB / 1.078 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.81e-07/1.12, allocations: 0 / 1.078 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.009519/1.129, allocations: 2.011 MB / 1.08 GB, free: 12.68 MB / 0.8419 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.00163/1.131, allocations: 0.4935 MB / 1.08 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.14, allocations: 5.435 MB / 1.086 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.14, allocations: 4 kB / 1.086 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/1.144, allocations: 2.546 MB / 1.088 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01746/1.162, allocations: 3.388 MB / 1.091 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3933/1.555, allocations: 13.88 MB / 1.105 GB, free: 266.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006024/1.561, allocations: 4.625 MB / 1.109 GB, free: 265.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.008137/1.569, allocations: 2.076 MB / 1.111 GB, free: 265.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/1.572, allocations: 466.2 kB / 1.112 GB, free: 265 MB / 0.8419 GB Notification: Performance of SimCode: time 1.113e-06/1.572, allocations: 0 / 1.112 GB, free: 265 MB / 0.8419 GB Notification: Performance of Templates: time 0.1576/1.729, allocations: 116.6 MB / 1.226 GB, free: 177.5 MB / 0.8419 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)