Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008672/0.0008673, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.000955/0.000955, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005809/0.0005811, allocations: 18.59 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2319, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04706/0.279, allocations: 51.55 MB / 0.8376 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.2994, allocations: 16.73 MB / 0.854 GB, free: 7.488 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.3025, allocations: 63.56 kB / 0.854 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.3052, allocations: 0.6403 MB / 0.8546 GB, free: 6.781 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007251/0.3124, allocations: 1.958 MB / 0.8566 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.3161, allocations: 1.09 MB / 0.8576 GB, free: 3.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0221/0.3382, allocations: 23.48 MB / 0.8805 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.3487, allocations: 7.142 MB / 0.8875 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.3588, allocations: 5.3 MB / 0.8927 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009762/0.3686, allocations: 5.477 MB / 0.898 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.3701, allocations: 351.9 kB / 0.8984 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.3756, allocations: 0.784 MB / 0.8991 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.3779, allocations: 1.522 MB / 0.9006 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.3815, allocations: 1.6 MB / 0.9022 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4055/0.787, allocations: 10.27 MB / 0.9122 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.787, allocations: 0 / 0.9122 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7871, allocations: 0 / 0.9122 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.00045/0.7875, allocations: 0.7188 kB / 0.9122 GB, free: 33.11 MB / 0.7169 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.02211/0.8096, allocations: 6.916 MB / 0.919 GB, free: 30.46 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8097, allocations: 10.06 kB / 0.919 GB, free: 30.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.8159, allocations: 0.8506 MB / 0.9198 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.8294, allocations: 6.344 MB / 0.926 GB, free: 29.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005335/0.83, allocations: 460.7 kB / 0.9265 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/0.8331, allocations: 0.5935 MB / 0.927 GB, free: 29.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/0.8603, allocations: 8.983 MB / 0.9358 GB, free: 28.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002834/0.8606, allocations: 18.81 kB / 0.9358 GB, free: 28.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00286/0.8635, allocations: 270.7 kB / 0.9361 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/0.8637, allocations: 176.5 kB / 0.9363 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.8832, allocations: 7.413 MB / 0.9435 GB, free: 28.2 MB / 0.7169 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.04716/0.9304, allocations: 35.94 MB / 0.9786 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005506/0.9359, allocations: 4.279 MB / 0.9828 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003959/0.9399, allocations: 3.383 MB / 0.9861 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.9413, allocations: 0.9844 MB / 0.987 GB, free: 22.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003339/0.9446, allocations: 2.386 MB / 0.9894 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003179/0.9478, allocations: 442.3 kB / 0.9898 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 9.608e-06/0.9478, allocations: 0 / 0.9898 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01077/0.9586, allocations: 7.085 MB / 0.9967 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.9587, allocations: 88.91 kB / 0.9968 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/0.966, allocations: 5.329 MB / 1.002 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/0.9671, allocations: 87.39 kB / 1.002 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.9698, allocations: 3.174 MB / 1.005 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.9717, allocations: 1.117 MB / 1.006 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.972, allocations: 85.81 kB / 1.006 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002773/0.9723, allocations: 488.8 kB / 1.007 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/0.9759, allocations: 2.145 MB / 1.009 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/0.9807, allocations: 3.68 MB / 1.013 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.9847, allocations: 2.893 MB / 1.015 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/0.9848, allocations: 16 kB / 1.015 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01155/0.9963, allocations: 6.725 MB / 1.022 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/0.9964, allocations: 53.92 kB / 1.022 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.712e-05/0.9965, allocations: 52 kB / 1.022 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.9976, allocations: 445 kB / 1.022 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/1.001, allocations: 1.009 MB / 1.023 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/1.007, allocations: 5.245 MB / 1.029 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.012, allocations: 470.8 kB / 1.029 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/1.013, allocations: 220 kB / 1.029 GB, free: 4.676 MB / 0.7481 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 () * 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 (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.005074/1.018, allocations: 2.455 MB / 1.032 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/1.02, allocations: 0.5288 MB / 1.032 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.03, allocations: 5.233 MB / 1.037 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/1.03, allocations: 32 kB / 1.037 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/1.03, allocations: 8 kB / 1.037 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006752/1.037, allocations: 4.512 MB / 1.042 GB, free: 7.832 MB / 0.7637 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.0269/1.064, allocations: 11.94 MB / 1.053 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.064, allocations: 0 / 1.053 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/1.067, allocations: 0.652 MB / 1.054 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009238/1.068, allocations: 371.6 kB / 1.054 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004394/1.068, allocations: 87.95 kB / 1.054 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/1.074, allocations: 5.169 MB / 1.059 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.074, allocations: 0 / 1.059 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.086, allocations: 7.606 MB / 1.067 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003888/1.09, allocations: 1.209 MB / 1.068 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.092, allocations: 63.98 kB / 1.068 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005045/1.097, allocations: 470.5 kB / 1.069 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/1.097, allocations: 201.6 kB / 1.069 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005568/1.098, allocations: 147.9 kB / 1.069 GB, free: 11.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.008073/1.106, allocations: 3.699 MB / 1.073 GB, free: 7.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/1.106, allocations: 4 kB / 1.073 GB, free: 7.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009241/1.115, allocations: 1.976 MB / 1.074 GB, free: 5.902 MB / 0.795 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 (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.001713/1.117, allocations: 479 kB / 1.075 GB, free: 5.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.126, allocations: 5.347 MB / 1.08 GB, free: 248 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.126, allocations: 4 kB / 1.08 GB, free: 244 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004175/1.131, allocations: 2.509 MB / 1.083 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01704/1.148, allocations: 3.225 MB / 1.086 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.181, allocations: 16.04 MB / 1.101 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006961/1.188, allocations: 4.595 MB / 1.106 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007248/1.196, allocations: 2.008 MB / 1.108 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.197, allocations: 454.9 kB / 1.108 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/1.197, allocations: 4 kB / 1.108 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.1765/1.374, allocations: 112 MB / 1.218 GB, free: 4.883 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: