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.001706/0.001706, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002613/0.002613, allocations: 287 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 178.6 MB / 0.5073 GB, free: 4.609 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 102.2 kB / 0.6064 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1885, allocations: 89.15 MB / 0.6935 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06298/0.2516, allocations: 55.99 MB / 0.7482 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3877/0.6393, allocations: 17.93 MB / 0.7657 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.6438, allocations: 81.19 kB / 0.7657 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.6466, allocations: 0.8937 MB / 0.7666 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007309/0.6539, allocations: 2.506 MB / 0.7691 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.6577, allocations: 1.526 MB / 0.7706 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02428/0.682, allocations: 21.25 MB / 0.7913 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01711/0.6991, allocations: 10.68 MB / 0.8017 GB, free: 16.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01986/0.719, allocations: 7.133 MB / 0.8087 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/0.7343, allocations: 6.364 MB / 0.8149 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004332/0.7387, allocations: 0.9366 MB / 0.8158 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.7491, allocations: 1.707 MB / 0.8175 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00546/0.7546, allocations: 2.333 MB / 0.8198 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01362/0.7682, allocations: 4.711 MB / 0.8244 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02165/0.7899, allocations: 13.04 MB / 0.8371 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.79, allocations: 0 / 0.8371 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.764e-06/0.79, allocations: 0 / 0.8371 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005375/0.7905, allocations: 0 / 0.8371 GB, free: 8.941 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.02583/0.8164, allocations: 8.516 MB / 0.8454 GB, free: 404 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8164, allocations: 12.03 kB / 0.8454 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.821, allocations: 0.8547 MB / 0.8463 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.8349, allocations: 6.428 MB / 0.8526 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005143/0.8354, allocations: 459.7 kB / 0.853 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.8378, allocations: 0.6027 MB / 0.8536 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.8604, allocations: 9.03 MB / 0.8624 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/0.8606, allocations: 15.88 kB / 0.8624 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.862, allocations: 260 kB / 0.8627 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.8623, allocations: 183.9 kB / 0.8628 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.8798, allocations: 7.445 MB / 0.8701 GB, free: 6.875 MB / 0.6075 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.05997/0.9398, allocations: 36.26 MB / 0.9055 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/0.9472, allocations: 4.291 MB / 0.9097 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/0.9525, allocations: 3.306 MB / 0.9129 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.9541, allocations: 0.9617 MB / 0.9139 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00435/0.9585, allocations: 2.382 MB / 0.9162 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002634/0.9612, allocations: 374.4 kB / 0.9166 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=317): time 8.165e-06/0.9612, allocations: 0 / 0.9166 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317): time 0.0141/0.9753, allocations: 7.135 MB / 0.9235 GB, free: 14.13 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.9754, allocations: 91.27 kB / 0.9236 GB, free: 14.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/0.9851, allocations: 5.662 MB / 0.9291 GB, free: 8.391 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008363/0.9859, allocations: 85.7 kB / 0.9292 GB, free: 8.301 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00356/0.9895, allocations: 3.196 MB / 0.9324 GB, free: 5.086 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001979/0.9915, allocations: 1.115 MB / 0.9334 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.993, allocations: 0.8542 MB / 0.9343 GB, free: 3.113 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9931, allocations: 301.1 kB / 0.9346 GB, free: 2.816 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.9967, allocations: 2.163 MB / 0.9367 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/1.002, allocations: 3.7 MB / 0.9403 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009488/1.011, allocations: 6.32 MB / 0.9465 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/1.011, allocations: 16 kB / 0.9465 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01321/1.024, allocations: 6.777 MB / 0.9531 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/1.025, allocations: 57.7 kB / 0.9531 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.316e-05/1.025, allocations: 55.92 kB / 0.9532 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/1.026, allocations: 429.8 kB / 0.9536 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.03, allocations: 1.002 MB / 0.9546 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/1.036, allocations: 5.711 MB / 0.9602 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/1.041, allocations: 287.5 kB / 0.9604 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009023/1.042, allocations: 216 kB / 0.9606 GB, free: 6.363 MB / 0.7012 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.005315/1.048, allocations: 2.483 MB / 0.9631 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/1.049, allocations: 0.5287 MB / 0.9636 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009542/1.059, allocations: 5.27 MB / 0.9687 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/1.059, allocations: 32 kB / 0.9688 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.059, allocations: 4 kB / 0.9688 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007217/1.066, allocations: 4.531 MB / 0.9732 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02463/1.091, allocations: 12.04 MB / 0.985 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.091, allocations: 0 / 0.985 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/1.094, allocations: 0.6438 MB / 0.9856 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/1.095, allocations: 371.3 kB / 0.9859 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/1.095, allocations: 87.89 kB / 0.986 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006159/1.101, allocations: 5.626 MB / 0.9915 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.101, allocations: 0 / 0.9915 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.115, allocations: 7.763 MB / 0.9991 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003577/1.118, allocations: 1.155 MB / 1 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/1.12, allocations: 64.27 kB / 1 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0038/1.123, allocations: 195.6 kB / 1 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/1.124, allocations: 202.2 kB / 1.001 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/1.124, allocations: 147.8 kB / 1.001 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007472/1.132, allocations: 3.955 MB / 1.005 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/1.132, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007661/1.14, allocations: 2.007 MB / 1.007 GB, free: 6.637 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.001661/1.141, allocations: 0.4943 MB / 1.007 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.164, allocations: 11.63 MB / 1.018 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.164, allocations: 0 / 1.018 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/1.169, allocations: 2.549 MB / 1.021 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01675/1.185, allocations: 3.389 MB / 1.024 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.212, allocations: 14.04 MB / 1.038 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007196/1.219, allocations: 4.628 MB / 1.042 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.3303/1.549, allocations: 2.072 MB / 1.045 GB, free: 269.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/1.552, allocations: 464 kB / 1.045 GB, free: 269.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.353e-06/1.552, allocations: 0 / 1.045 GB, free: 269.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.185/1.737, allocations: 122.1 MB / 1.164 GB, free: 187.8 MB / 0.7794 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)